#187C40#187C40
#187C40 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.128 H 151.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #187C40 |
|---|---|
| RGB | rgb(24, 124, 64) |
| HSL | hsl(144, 68%, 29%) |
| HSV | hsv(144, 81%, 49%) |
| CMYK | cmyk(80.6%, 0%, 48.4%, 51.4%) |
| CIE-LAB | lab(45.60, -41.86, 25.00) |
| CIE-LCH | lch(45.60, 48.76, 149.16°) |
| OKLab | oklab(51.7% -0.1125 0.0612) |
| OKLCH | oklch(51.7% 0.128 151.4) |
| XYZ | xyz(8.5090, 14.9786, 7.2922) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.18
Darkish Green
#287C37
ΔE00 2.55
Sea Green
#2E8B57
ΔE00 6.28
Dark Sea Green
#11875D
ΔE00 6.63
Tree Green
#2A7E19
ΔE00 7.43
Green
#008000
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187C40 #7C1854
analogous
#227C18 #187C40 #187C72
triadic
#187C40 #40187C #7C4018
tetradic
#187C40 #18227C #7C1854 #7C7218
square
#187C40 #18227C #7C1854 #7C7218
split-complementary
#187C40 #72187C #7C1822
monochromatic
#051A0D #0E4926 #187C40 #22AF5A #36D877
Accessibility & contrast
On white
5.26
#187C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#187C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187C40
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187C40 | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #187c40; /* rgb */ color: rgb(24, 124, 64); /* oklch */ color: oklch(51.7% 0.128 151.4);
Tailwind
colors: {
custom: {
50: '#67a376',
500: '#187c40',
950: '#000000',
},
}SCSS
$custom: #187c40; $custom-light: #67a376; $custom-dark: #000000;
JSON
{
"hex": "#187c40",
"rgb": {
"r": 24,
"g": 124,
"b": 64
},
"hsl": {
"h": 144,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.51696,
"c": 0.12807,
"h": 151.4
},
"luminance": 0.1498
}Semantic roles & 50–950 ramp
primary
#187C40
secondary
#B13F83
accent
#3DA5EA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B