#187540#187540
#187540 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.7% C 0.118 H 152.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #187540 |
|---|---|
| RGB | rgb(24, 117, 64) |
| HSL | hsl(146, 66%, 28%) |
| HSV | hsv(146, 79%, 46%) |
| CMYK | cmyk(79.5%, 0%, 45.3%, 54.1%) |
| CIE-LAB | lab(43.19, -39.14, 21.89) |
| CIE-LCH | lch(43.19, 44.84, 150.77°) |
| OKLab | oklab(49.7% -0.1053 0.0541) |
| OKLCH | oklch(49.7% 0.118 152.8) |
| XYZ | xyz(7.6627, 13.2860, 7.0101) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.36
Jungle Green
#048243
ΔE00 4.69
Dark Sea Green
#11875D
ΔE00 7.62
Spruce
#0A5F38
ΔE00 7.71
Sea Green
#2E8B57
ΔE00 8.24
Pine
#2B5D34
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187540 #75184D
analogous
#1F7518 #187540 #18756E
triadic
#187540 #401875 #754018
tetradic
#187540 #181F75 #75184D #756E18
square
#187540 #181F75 #75184D #756E18
split-complementary
#187540 #6E1875 #75181F
monochromatic
#05190E #0E4224 #187540 #22A85C #32D578
Accessibility & contrast
On white
5.74
#187540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#187540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187540
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187540 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #187540; /* rgb */ color: rgb(24, 117, 64); /* oklch */ color: oklch(49.7% 0.118 152.8);
Tailwind
colors: {
custom: {
50: '#659e75',
500: '#187540',
950: '#000000',
},
}SCSS
$custom: #187540; $custom-light: #659e75; $custom-dark: #000000;
JSON
{
"hex": "#187540",
"rgb": {
"r": 24,
"g": 117,
"b": 64
},
"hsl": {
"h": 145.806,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.497,
"c": 0.11835,
"h": 152.8
},
"luminance": 0.13287
}Semantic roles & 50–950 ramp
primary
#187540
secondary
#AA3F7C
accent
#3FA0E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B