#187F3B#187F3B
#187F3B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.137 H 149.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #187F3B |
|---|---|
| RGB | rgb(24, 127, 59) |
| HSL | hsl(140, 68%, 30%) |
| HSV | hsv(140, 81%, 50%) |
| CMYK | cmyk(81.1%, 0%, 53.5%, 50.2%) |
| CIE-LAB | lab(46.56, -43.86, 28.89) |
| CIE-LCH | lch(46.56, 52.52, 146.62°) |
| OKLab | oklab(52.47% -0.1178 0.0698) |
| OKLCH | oklch(52.47% 0.137 149.3) |
| XYZ | xyz(8.7547, 15.6876, 6.7034) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.70
Jungle Green
#048243
ΔE00 1.92
Tree Green
#2A7E19
ΔE00 5.96
Sea Green
#2E8B57
ΔE00 6.22
Forestgreen (CSS)
#228B22
ΔE00 6.93
Green
#008000
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187F3B #7F185C
analogous
#297F18 #187F3B #187F6F
triadic
#187F3B #3B187F #7F3B18
tetradic
#187F3B #18297F #7F185C #7F6F18
square
#187F3B #18297F #7F185C #7F6F18
split-complementary
#187F3B #6F187F #7F1829
monochromatic
#051A0C #0E4C23 #187F3B #22B253 #38D96F
Accessibility & contrast
On white
5.08
#187F3B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#187F3B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187F3B
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187F3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187F3B | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807335
Deuteranopia (green-blind)
#746B40
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #187f3b; /* rgb */ color: rgb(24, 127, 59); /* oklch */ color: oklch(52.5% 0.137 149.3);
Tailwind
colors: {
custom: {
50: '#68a572',
500: '#187f3b',
950: '#000000',
},
}SCSS
$custom: #187f3b; $custom-light: #68a572; $custom-dark: #000000;
JSON
{
"hex": "#187f3b",
"rgb": {
"r": 24,
"g": 127,
"b": 59
},
"hsl": {
"h": 140.388,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.52465,
"c": 0.13692,
"h": 149.3
},
"luminance": 0.15689
}Semantic roles & 50–950 ramp
primary
#187F3B
secondary
#B33F8C
accent
#3DB0EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B