#187F37#187F37
#187F37 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.141 H 148.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #187F37 |
|---|---|
| RGB | rgb(24, 127, 55) |
| HSL | hsl(138, 68%, 30%) |
| HSV | hsv(138, 81%, 50%) |
| CMYK | cmyk(81.1%, 0%, 56.7%, 50.2%) |
| CIE-LAB | lab(46.51, -44.49, 30.92) |
| CIE-LCH | lch(46.51, 54.18, 145.20°) |
| OKLab | oklab(52.4% -0.1195 0.074) |
| OKLCH | oklch(52.4% 0.141 148.2) |
| XYZ | xyz(8.6550, 15.6477, 6.1779) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.51
Jungle Green
#048243
ΔE00 2.58
Tree Green
#2A7E19
ΔE00 5.20
Green
#008000
ΔE00 6.33
Forestgreen (CSS)
#228B22
ΔE00 6.34
Sea Green
#2E8B57
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187F37 #7F1860
analogous
#2D7F18 #187F37 #187F6B
triadic
#187F37 #37187F #7F3718
tetradic
#187F37 #182D7F #7F1860 #7F6B18
square
#187F37 #182D7F #7F1860 #7F6B18
split-complementary
#187F37 #6B187F #7F182D
monochromatic
#051A0B #0E4C21 #187F37 #22B24D #38D969
Accessibility & contrast
On white
5.08
#187F37 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#187F37 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187F37
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187F37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187F37 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #187f37; /* rgb */ color: rgb(24, 127, 55); /* oklch */ color: oklch(52.4% 0.141 148.2);
Tailwind
colors: {
custom: {
50: '#68a570',
500: '#187f37',
950: '#000000',
},
}SCSS
$custom: #187f37; $custom-light: #68a570; $custom-dark: #000000;
JSON
{
"hex": "#187f37",
"rgb": {
"r": 24,
"g": 127,
"b": 55
},
"hsl": {
"h": 138.058,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.52403,
"c": 0.14061,
"h": 148.2
},
"luminance": 0.15649
}Semantic roles & 50–950 ramp
primary
#187F37
secondary
#B33F90
accent
#3DB7EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A