#187E36#187E36
#187E36 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.140 H 148.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #187E36 |
|---|---|
| RGB | rgb(24, 126, 54) |
| HSL | hsl(138, 68%, 29%) |
| HSV | hsv(138, 81%, 49%) |
| CMYK | cmyk(81%, 0%, 57.1%, 50.6%) |
| CIE-LAB | lab(46.15, -44.28, 31.01) |
| CIE-LCH | lch(46.15, 54.06, 145.00°) |
| OKLab | oklab(52.1% -0.119 0.0742) |
| OKLCH | oklch(52.1% 0.14 148.1) |
| XYZ | xyz(8.5027, 15.3812, 6.0101) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.31
Jungle Green
#048243
ΔE00 2.80
Tree Green
#2A7E19
ΔE00 5.13
Green
#008000
ΔE00 6.29
Forestgreen (CSS)
#228B22
ΔE00 6.54
Sea Green
#2E8B57
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187E36 #7E1860
analogous
#2D7E18 #187E36 #187E69
triadic
#187E36 #36187E #7E3618
tetradic
#187E36 #182D7E #7E1860 #7E6918
square
#187E36 #182D7E #7E1860 #7E6918
split-complementary
#187E36 #69187E #7E182D
monochromatic
#051A0B #0E4B20 #187E36 #22B14C #37D967
Accessibility & contrast
On white
5.15
#187E36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#187E36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187E36
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187E36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187E36 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #187e36; /* rgb */ color: rgb(24, 126, 54); /* oklch */ color: oklch(52.1% 0.140 148.1);
Tailwind
colors: {
custom: {
50: '#68a46f',
500: '#187e36',
950: '#000000',
},
}SCSS
$custom: #187e36; $custom-light: #68a46f; $custom-dark: #000000;
JSON
{
"hex": "#187e36",
"rgb": {
"r": 24,
"g": 126,
"b": 54
},
"hsl": {
"h": 137.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.52103,
"c": 0.14021,
"h": 148.1
},
"luminance": 0.15382
}Semantic roles & 50–950 ramp
primary
#187E36
secondary
#B23F91
accent
#3DB8EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A