#12711F#12711F
#12711F is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.144 H 144.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #12711F |
|---|---|
| RGB | rgb(18, 113, 31) |
| HSL | hsl(128, 73%, 26%) |
| HSV | hsv(128, 84%, 44%) |
| CMYK | cmyk(84.1%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(41.27, -43.44, 36.51) |
| CIE-LCH | lch(41.27, 56.75, 139.96°) |
| OKLab | oklab(47.95% -0.1173 0.0837) |
| OKLCH | oklch(47.95% 0.144 144.5) |
| XYZ | xyz(6.4015, 12.0370, 3.2821) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.83
Darkgreen
#006400
ΔE00 4.85
Tree Green
#2A7E19
ΔE00 5.42
Green
#008000
ΔE00 6.31
Jungle Green
#048243
ΔE00 7.59
Deep Green
#02590F
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12711F #711264
analogous
#347112 #12711F #12714E
triadic
#12711F #1F1271 #711F12
tetradic
#12711F #123471 #711264 #714E12
square
#12711F #123471 #711264 #714E12
split-complementary
#12711F #4E1271 #711234
monochromatic
#041A07 #0A3C11 #12711F #1AA62D #23DB3C
Accessibility & contrast
On white
6.16
#12711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#12711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12711F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12711F | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #12711f; /* rgb */ color: rgb(18, 113, 31); /* oklch */ color: oklch(47.9% 0.144 144.5);
Tailwind
colors: {
custom: {
50: '#649b5f',
500: '#12711f',
950: '#000000',
},
}SCSS
$custom: #12711f; $custom-light: #649b5f; $custom-dark: #000000;
JSON
{
"hex": "#12711f",
"rgb": {
"r": 18,
"g": 113,
"b": 31
},
"hsl": {
"h": 128.211,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.47948,
"c": 0.14411,
"h": 144.5
},
"luminance": 0.12038
}Semantic roles & 50–950 ramp
primary
#12711F
secondary
#A83798
accent
#39D6EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79