#187042#187042
#187042 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.3% C 0.109 H 155.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #187042 |
|---|---|
| RGB | rgb(24, 112, 66) |
| HSL | hsl(149, 65%, 27%) |
| HSV | hsv(149, 79%, 44%) |
| CMYK | cmyk(78.6%, 0%, 41.1%, 56.1%) |
| CIE-LAB | lab(41.49, -36.71, 18.53) |
| CIE-LCH | lch(41.49, 41.12, 153.22°) |
| OKLab | oklab(48.31% -0.099 0.0462) |
| OKLCH | oklch(48.31% 0.109 155) |
| XYZ | xyz(7.1536, 12.1750, 7.1262) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.73
Darkish Green
#287C37
ΔE00 6.47
Jungle Green
#048243
ΔE00 6.76
Pine
#2B5D34
ΔE00 6.92
Hunter Green
#355E3B
ΔE00 7.57
Dark Sea Green
#11875D
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187042 #701846
analogous
#1A7018 #187042 #18706E
triadic
#187042 #421870 #704218
tetradic
#187042 #181A70 #701846 #706E18
square
#187042 #181A70 #701846 #706E18
split-complementary
#187042 #6E1870 #70181A
monochromatic
#05190F #0D3E24 #187042 #23A260 #30D37D
Accessibility & contrast
On white
6.11
#187042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#187042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187042
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187042 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70663F
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #187042; /* rgb */ color: rgb(24, 112, 66); /* oklch */ color: oklch(48.3% 0.109 155.0);
Tailwind
colors: {
custom: {
50: '#649a77',
500: '#187042',
950: '#000000',
},
}SCSS
$custom: #187042; $custom-light: #649a77; $custom-dark: #000000;
JSON
{
"hex": "#187042",
"rgb": {
"r": 24,
"g": 112,
"b": 66
},
"hsl": {
"h": 148.636,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.4831,
"c": 0.10926,
"h": 155
},
"luminance": 0.12176
}Semantic roles & 50–950 ramp
primary
#187042
secondary
#A53E74
accent
#4098E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B