#187938#187938
#187938 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.132 H 149.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #187938 |
|---|---|
| RGB | rgb(24, 121, 56) |
| HSL | hsl(140, 67%, 28%) |
| HSV | hsv(140, 80%, 47%) |
| CMYK | cmyk(80.2%, 0%, 53.7%, 52.5%) |
| CIE-LAB | lab(44.45, -42.11, 27.89) |
| CIE-LCH | lch(44.45, 50.51, 146.49°) |
| OKLab | oklab(50.7% -0.1131 0.0674) |
| OKLCH | oklch(50.7% 0.132 149.2) |
| XYZ | xyz(7.9272, 14.1535, 6.0547) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.88
Jungle Green
#048243
ΔE00 3.43
Tree Green
#2A7E19
ΔE00 6.40
Green
#008000
ΔE00 7.66
Sea Green
#2E8B57
ΔE00 7.78
Dark Sea Green
#11875D
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187938 #791859
analogous
#287918 #187938 #187968
triadic
#187938 #381879 #793818
tetradic
#187938 #182879 #791859 #796818
square
#187938 #182879 #791859 #796818
split-complementary
#187938 #681879 #791828
monochromatic
#051A0C #0E4620 #187938 #22AC50 #35D76A
Accessibility & contrast
On white
5.48
#187938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#187938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187938
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187938 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E32
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #187938; /* rgb */ color: rgb(24, 121, 56); /* oklch */ color: oklch(50.7% 0.132 149.2);
Tailwind
colors: {
custom: {
50: '#66a170',
500: '#187938',
950: '#000000',
},
}SCSS
$custom: #187938; $custom-light: #66a170; $custom-dark: #000000;
JSON
{
"hex": "#187938",
"rgb": {
"r": 24,
"g": 121,
"b": 56
},
"hsl": {
"h": 139.794,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.50703,
"c": 0.13169,
"h": 149.2
},
"luminance": 0.14154
}Semantic roles & 50–950 ramp
primary
#187938
secondary
#AE3F89
accent
#3EB1EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A