#187840#187840
#187840 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.123 H 152.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #187840 |
|---|---|
| RGB | rgb(24, 120, 64) |
| HSL | hsl(145, 67%, 28%) |
| HSV | hsv(145, 80%, 47%) |
| CMYK | cmyk(80%, 0%, 46.7%, 52.9%) |
| CIE-LAB | lab(44.23, -40.32, 23.23) |
| CIE-LCH | lch(44.23, 46.53, 150.05°) |
| OKLab | oklab(50.56% -0.1084 0.0572) |
| OKLCH | oklch(50.56% 0.123 152.2) |
| XYZ | xyz(8.0179, 13.9963, 7.1285) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.44
Jungle Green
#048243
ΔE00 3.59
Dark Sea Green
#11875D
ΔE00 7.10
Sea Green
#2E8B57
ΔE00 7.36
Tree Green
#2A7E19
ΔE00 8.28
Spruce
#0A5F38
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187840 #781850
analogous
#207818 #187840 #187870
triadic
#187840 #401878 #784018
tetradic
#187840 #182078 #781850 #787018
square
#187840 #182078 #781850 #787018
split-complementary
#187840 #701878 #781820
monochromatic
#051A0E #0E4525 #187840 #22AB5B #34D678
Accessibility & contrast
On white
5.53
#187840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#187840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187840
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187840 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #187840; /* rgb */ color: rgb(24, 120, 64); /* oklch */ color: oklch(50.6% 0.123 152.2);
Tailwind
colors: {
custom: {
50: '#66a075',
500: '#187840',
950: '#000000',
},
}SCSS
$custom: #187840; $custom-light: #66a075; $custom-dark: #000000;
JSON
{
"hex": "#187840",
"rgb": {
"r": 24,
"g": 120,
"b": 64
},
"hsl": {
"h": 145,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.50557,
"c": 0.12254,
"h": 152.2
},
"luminance": 0.13997
}Semantic roles & 50–950 ramp
primary
#187840
secondary
#AD3F7F
accent
#3EA2EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B