#18712E#18712E
#18712E is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.130 H 147.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #18712E |
|---|---|
| RGB | rgb(24, 113, 46) |
| HSL | hsl(135, 65%, 27%) |
| HSV | hsv(135, 79%, 44%) |
| CMYK | cmyk(78.8%, 0%, 59.3%, 55.7%) |
| CIE-LAB | lab(41.53, -40.68, 29.63) |
| CIE-LCH | lch(41.53, 50.33, 143.93°) |
| OKLab | oklab(48.24% -0.1095 0.0705) |
| OKLCH | oklch(48.24% 0.13 147.2) |
| XYZ | xyz(6.7744, 12.2009, 4.5822) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.99
Jungle Green
#048243
ΔE00 6.30
Darkgreen
#006400
ΔE00 6.48
Tree Green
#2A7E19
ΔE00 6.89
Green
#008000
ΔE00 8.10
Deep Green
#02590F
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18712E #71185B
analogous
#2F7118 #18712E #18715B
triadic
#18712E #2E1871 #712E18
tetradic
#18712E #182F71 #71185B #715B18
square
#18712E #182F71 #71185B #715B18
split-complementary
#18712E #5B1871 #71182F
monochromatic
#05190A #0D3F19 #18712E #23A343 #30D359
Accessibility & contrast
On white
6.10
#18712E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#18712E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18712E
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18712E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18712E | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #18712e; /* rgb */ color: rgb(24, 113, 46); /* oklch */ color: oklch(48.2% 0.130 147.2);
Tailwind
colors: {
custom: {
50: '#659b69',
500: '#18712e',
950: '#000000',
},
}SCSS
$custom: #18712e; $custom-light: #659b69; $custom-dark: #000000;
JSON
{
"hex": "#18712e",
"rgb": {
"r": 24,
"g": 113,
"b": 46
},
"hsl": {
"h": 134.831,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.48243,
"c": 0.13024,
"h": 147.2
},
"luminance": 0.12202
}Semantic roles & 50–950 ramp
primary
#18712E
secondary
#A63E8D
accent
#40BEE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A