#187E1C#187E1C
#187E1C is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.160 H 143.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #187E1C |
|---|---|
| RGB | rgb(24, 126, 28) |
| HSL | hsl(122, 68%, 29%) |
| HSV | hsv(122, 81%, 49%) |
| CMYK | cmyk(81%, 0%, 77.8%, 50.6%) |
| CIE-LAB | lab(45.91, -47.29, 42.49) |
| CIE-LCH | lch(45.91, 63.57, 138.06°) |
| OKLab | oklab(51.82% -0.1282 0.0958) |
| OKLCH | oklch(51.82% 0.16 143.2) |
| XYZ | xyz(8.0466, 15.1988, 3.6080) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.55
Green
#008000
ΔE00 2.30
Dark Grass Green
#388004
ΔE00 4.33
Darkish Green
#287C37
ΔE00 4.37
Forestgreen (CSS)
#228B22
ΔE00 4.72
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187E1C #7E187A
analogous
#477E18 #187E1C #187E4F
triadic
#187E1C #1C187E #7E1C18
tetradic
#187E1C #18477E #7E187A #7E4F18
square
#187E1C #18477E #7E187A #7E4F18
split-complementary
#187E1C #4F187E #7E1847
monochromatic
#051A06 #0E4B11 #187E1C #22B127 #37D93E
Accessibility & contrast
On white
5.20
#187E1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#187E1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187E1C
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187E1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187E1C | 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)
#817107
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #187e1c; /* rgb */ color: rgb(24, 126, 28); /* oklch */ color: oklch(51.8% 0.160 143.2);
Tailwind
colors: {
custom: {
50: '#69a460',
500: '#187e1c',
950: '#000000',
},
}SCSS
$custom: #187e1c; $custom-light: #69a460; $custom-dark: #000000;
JSON
{
"hex": "#187e1c",
"rgb": {
"r": 24,
"g": 126,
"b": 28
},
"hsl": {
"h": 122.353,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.51819,
"c": 0.16,
"h": 143.2
},
"luminance": 0.152
}Semantic roles & 50–950 ramp
primary
#187E1C
secondary
#B23FAE
accent
#3DE4EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79