#12711C#12711C
#12711C is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.146 H 144.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #12711C |
|---|---|
| RGB | rgb(18, 113, 28) |
| HSL | hsl(126, 73%, 26%) |
| HSV | hsv(126, 84%, 44%) |
| CMYK | cmyk(84.1%, 0%, 75.2%, 55.7%) |
| CIE-LAB | lab(41.25, -43.74, 37.75) |
| CIE-LCH | lch(41.25, 57.78, 139.21°) |
| OKLab | oklab(47.92% -0.1183 0.0859) |
| OKLCH | oklch(47.92% 0.146 144) |
| XYZ | xyz(6.3637, 12.0219, 3.0835) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.66
Darkish Green
#287C37
ΔE00 5.08
Tree Green
#2A7E19
ΔE00 5.23
Green
#008000
ΔE00 6.06
Dark Grass Green
#388004
ΔE00 7.58
Deep Green
#02590F
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12711C #711267
analogous
#377112 #12711C #12714B
triadic
#12711C #1C1271 #711C12
tetradic
#12711C #123771 #711267 #714B12
square
#12711C #123771 #711267 #714B12
split-complementary
#12711C #4B1271 #711237
monochromatic
#041A07 #0A3C0F #12711C #1AA629 #23DB36
Accessibility & contrast
On white
6.17
#12711C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#12711C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12711C
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12711C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12711C | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73660E
Deuteranopia (green-blind)
#695F25
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #12711c; /* rgb */ color: rgb(18, 113, 28); /* oklch */ color: oklch(47.9% 0.146 144.0);
Tailwind
colors: {
custom: {
50: '#649b5e',
500: '#12711c',
950: '#000000',
},
}SCSS
$custom: #12711c; $custom-light: #649b5e; $custom-dark: #000000;
JSON
{
"hex": "#12711c",
"rgb": {
"r": 18,
"g": 113,
"b": 28
},
"hsl": {
"h": 126.316,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.4792,
"c": 0.14617,
"h": 144
},
"luminance": 0.12023
}Semantic roles & 50–950 ramp
primary
#12711C
secondary
#A8379C
accent
#39DCEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79