#187142#187142
#187142 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.111 H 154.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #187142 |
|---|---|
| RGB | rgb(24, 113, 66) |
| HSL | hsl(148, 65%, 27%) |
| HSV | hsv(148, 79%, 44%) |
| CMYK | cmyk(78.8%, 0%, 41.6%, 55.7%) |
| CIE-LAB | lab(41.84, -37.12, 18.99) |
| CIE-LCH | lch(41.84, 41.69, 152.91°) |
| OKLab | oklab(48.6% -0.1001 0.0473) |
| OKLCH | oklch(48.6% 0.111 154.7) |
| XYZ | xyz(7.2645, 12.3969, 7.1632) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.09
Darkish Green
#287C37
ΔE00 6.11
Jungle Green
#048243
ΔE00 6.38
Pine
#2B5D34
ΔE00 7.22
Hunter Green
#355E3B
ΔE00 7.87
Dark Sea Green
#11875D
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187142 #711847
analogous
#1A7118 #187142 #18716F
triadic
#187142 #421871 #714218
tetradic
#187142 #181A71 #711847 #716F18
square
#187142 #181A71 #711847 #716F18
split-complementary
#187142 #6F1871 #71181A
monochromatic
#05190F #0D3F25 #187142 #23A35F #30D37D
Accessibility & contrast
On white
6.04
#187142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#187142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187142
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187142 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #187142; /* rgb */ color: rgb(24, 113, 66); /* oklch */ color: oklch(48.6% 0.111 154.7);
Tailwind
colors: {
custom: {
50: '#649b77',
500: '#187142',
950: '#000000',
},
}SCSS
$custom: #187142; $custom-light: #649b77; $custom-dark: #000000;
JSON
{
"hex": "#187142",
"rgb": {
"r": 24,
"g": 113,
"b": 66
},
"hsl": {
"h": 148.315,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.48596,
"c": 0.11069,
"h": 154.7
},
"luminance": 0.12398
}Semantic roles & 50–950 ramp
primary
#187142
secondary
#A63E75
accent
#4099E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B