#18712F#18712F
#18712F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.129 H 147.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #18712F |
|---|---|
| RGB | rgb(24, 113, 47) |
| HSL | hsl(136, 65%, 27%) |
| HSV | hsv(136, 79%, 44%) |
| CMYK | cmyk(78.8%, 0%, 58.4%, 55.7%) |
| CIE-LAB | lab(41.55, -40.53, 29.12) |
| CIE-LCH | lch(41.55, 49.91, 144.30°) |
| OKLab | oklab(48.26% -0.1091 0.0695) |
| OKLCH | oklch(48.26% 0.129 147.5) |
| XYZ | xyz(6.7944, 12.2089, 4.6872) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.00
Jungle Green
#048243
ΔE00 6.23
Darkgreen
#006400
ΔE00 6.63
Tree Green
#2A7E19
ΔE00 7.03
Spruce
#0A5F38
ΔE00 8.17
Pine
#2B5D34
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18712F #71185A
analogous
#2D7118 #18712F #18715C
triadic
#18712F #2F1871 #712F18
tetradic
#18712F #182D71 #71185A #715C18
square
#18712F #182D71 #71185A #715C18
split-complementary
#18712F #5C1871 #71182D
monochromatic
#05190A #0D3F1A #18712F #23A344 #30D35A
Accessibility & contrast
On white
6.10
#18712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#18712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18712F
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18712F | 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)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #18712f; /* rgb */ color: rgb(24, 113, 47); /* oklch */ color: oklch(48.3% 0.129 147.5);
Tailwind
colors: {
custom: {
50: '#659b69',
500: '#18712f',
950: '#000000',
},
}SCSS
$custom: #18712f; $custom-light: #659b69; $custom-dark: #000000;
JSON
{
"hex": "#18712f",
"rgb": {
"r": 24,
"g": 113,
"b": 47
},
"hsl": {
"h": 135.506,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.48257,
"c": 0.12933,
"h": 147.5
},
"luminance": 0.1221
}Semantic roles & 50–950 ramp
primary
#18712F
secondary
#A63E8C
accent
#40BDE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A