#187E1A#187E1A
#187E1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.161 H 143.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #187E1A |
|---|---|
| RGB | rgb(24, 126, 26) |
| HSL | hsl(121, 68%, 29%) |
| HSV | hsv(121, 81%, 49%) |
| CMYK | cmyk(81%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(45.89, -47.44, 43.20) |
| CIE-LCH | lch(45.89, 64.17, 137.68°) |
| OKLab | oklab(51.81% -0.1287 0.097) |
| OKLCH | oklch(51.81% 0.161 143) |
| XYZ | xyz(8.0235, 15.1895, 3.4861) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.42
Green
#008000
ΔE00 2.09
Dark Grass Green
#388004
ΔE00 4.15
Darkish Green
#287C37
ΔE00 4.59
Forestgreen (CSS)
#228B22
ΔE00 4.71
Emerald Green
#028F1E
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187E1A #7E187C
analogous
#497E18 #187E1A #187E4D
triadic
#187E1A #1A187E #7E1A18
tetradic
#187E1A #18497E #7E187C #7E4D18
square
#187E1A #18497E #7E187C #7E4D18
split-complementary
#187E1A #4D187E #7E1849
monochromatic
#051A05 #0E4B0F #187E1A #22B125 #37D93B
Accessibility & contrast
On white
5.20
#187E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#187E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187E1A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187E1A | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #187e1a; /* rgb */ color: rgb(24, 126, 26); /* oklch */ color: oklch(51.8% 0.161 143.0);
Tailwind
colors: {
custom: {
50: '#69a45f',
500: '#187e1a',
950: '#000000',
},
}SCSS
$custom: #187e1a; $custom-light: #69a45f; $custom-dark: #000000;
JSON
{
"hex": "#187e1a",
"rgb": {
"r": 24,
"g": 126,
"b": 26
},
"hsl": {
"h": 121.176,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.51805,
"c": 0.16113,
"h": 143
},
"luminance": 0.1519
}Semantic roles & 50–950 ramp
primary
#187E1A
secondary
#B23FB0
accent
#3DE7EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79