Nearest named color · #1B7C3C
#1B7C3C
Nearest named color: Pharmaceutical Green
#1B7C3C (rgb(27 124 60), hsl(140 64% 30%), oklch(0.517 0.131 149.8)) is closest to the named color Pharmaceutical Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1B7C3C
oklch(0.517 0.131 149.8)
Color conversions
- HEX
- #1b7c3c
- RGB
- rgb(27 124 60)
- HSL
- hsl(140 64% 30%)
- HWB
- hwb(140 11% 51%)
- OKLCH
- oklch(0.517 0.131 149.8)
- OKLab
- oklab(0.517 -0.113 0.066)
- CIE Lab
- lab(45.59 -39.62 26.6)
- LCH
- lch(45.59 47.72 146.1)
- CMYK
- cmyk(78% 0% 52% 51%)
Tints · Shades · Tones
Tints
- 3A894F
- 529662
- 69A374
- 7EB087
- 94BD9B
- A9CAAE
- BED7C2
- D4E4D6
- E9F2EA
Shades
- 166B33
- 115A2A
- 0C4A21
- 083B19
- 052C11
- 021E0A
- 011104
- 000501
- 000100
Tones
- 2D7D44
- 3A7D4B
- 457E52
- 4F7F59
- 587F5F
- 617F66
- 69806D
- 718073
- 78807A
Color harmonies
Complementary +180°
- 1B7C3C
Pharmaceutical Green
- 90488C
≈ Pickled Plum
Analogous -30° +30°
- 1B7C3C
Pharmaceutical Green
- 607100
≈ Brownish Green
- 00796A
≈ Shady Glade
Triadic +120° +240°
- 1B7C3C
Pharmaceutical Green
- 4B61B3
≈ Kakitsubata Blue
- A64538
≈ Red Revival
Split-complementary +150° +210°
- 1B7C3C
Pharmaceutical Green
- 7453A7
≈ Royal Lavender
- A14265
≈ Gooseberry
Tetradic +90° +180° +270°
- 1B7C3C
Pharmaceutical Green
- 006FA4
≈ Cat’s Purr
- 90488C
≈ Pickled Plum
- 995400
≈ Charlie Brown
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--pharmaceutical-green: #1b7c3c;
--pharmaceutical-green-rgb: 27 124 60;
--pharmaceutical-green-oklch: oklch(0.517 0.131 149.8);
}
.element {
color: var(--pharmaceutical-green);
background-color: hsl(140 64% 30%);
border-color: oklch(0.517 0.131 149.8);
}Tailwind CSS v4
@theme {
--color-pharmaceutical-green: #1b7c3c;
--color-pharmaceutical-green-50: #dbffe3;
--color-pharmaceutical-green-100: #c8f5d3;
--color-pharmaceutical-green-200: #abe5b9;
--color-pharmaceutical-green-300: #83cb96;
--color-pharmaceutical-green-400: #60b474;
--color-pharmaceutical-green-500: #359d54;
--color-pharmaceutical-green-600: #2f8548;
--color-pharmaceutical-green-700: #266b39;
--color-pharmaceutical-green-800: #1d4e27;
--color-pharmaceutical-green-900: #13361a;
--color-pharmaceutical-green-950: #04210a;
}SCSS
$pharmaceutical-green: #1b7c3c;
$pharmaceutical-green-rgb: 27, 124, 60;
$pharmaceutical-green-light: mix(#fff, $pharmaceutical-green, 20%);
$pharmaceutical-green-dark: mix(#000, $pharmaceutical-green, 20%);
.element {
color: $pharmaceutical-green;
box-shadow: 0 0 0 2px rgba($pharmaceutical-green, 0.35);
}