#187E1E#187E1E
#187E1E is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.159 H 143.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #187E1E |
|---|---|
| RGB | rgb(24, 126, 30) |
| HSL | hsl(124, 68%, 29%) |
| HSV | hsv(124, 81%, 49%) |
| CMYK | cmyk(81%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(45.92, -47.12, 41.75) |
| CIE-LCH | lch(45.92, 62.96, 138.45°) |
| OKLab | oklab(51.83% -0.1276 0.0945) |
| OKLCH | oklch(51.83% 0.159 143.5) |
| XYZ | xyz(8.0714, 15.2087, 3.7382) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.70
Green
#008000
ΔE00 2.53
Darkish Green
#287C37
ΔE00 4.13
Dark Grass Green
#388004
ΔE00 4.52
Forestgreen (CSS)
#228B22
ΔE00 4.75
Emerald Green
#028F1E
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187E1E #7E1878
analogous
#457E18 #187E1E #187E51
triadic
#187E1E #1E187E #7E1E18
tetradic
#187E1E #18457E #7E1878 #7E5118
square
#187E1E #18457E #7E1878 #7E5118
split-complementary
#187E1E #51187E #7E1845
monochromatic
#051A06 #0E4B12 #187E1E #22B12A #37D941
Accessibility & contrast
On white
5.20
#187E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#187E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187E1E
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187E1E | 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)
#81710C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #187e1e; /* rgb */ color: rgb(24, 126, 30); /* oklch */ color: oklch(51.8% 0.159 143.5);
Tailwind
colors: {
custom: {
50: '#69a461',
500: '#187e1e',
950: '#000000',
},
}SCSS
$custom: #187e1e; $custom-light: #69a461; $custom-dark: #000000;
JSON
{
"hex": "#187e1e",
"rgb": {
"r": 24,
"g": 126,
"b": 30
},
"hsl": {
"h": 123.529,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.51834,
"c": 0.1588,
"h": 143.5
},
"luminance": 0.1521
}Semantic roles & 50–950 ramp
primary
#187E1E
secondary
#B23FAC
accent
#3DE1EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79