#12701E#12701E
#12701E is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.144 H 144.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #12701E |
|---|---|
| RGB | rgb(18, 112, 30) |
| HSL | hsl(128, 72%, 25%) |
| HSV | hsv(128, 84%, 44%) |
| CMYK | cmyk(83.9%, 0%, 73.2%, 56.1%) |
| CIE-LAB | lab(40.91, -43.20, 36.55) |
| CIE-LCH | lch(40.91, 56.59, 139.76°) |
| OKLab | oklab(47.64% -0.1167 0.0837) |
| OKLCH | oklch(47.64% 0.144 144.4) |
| XYZ | xyz(6.2775, 11.8099, 3.1767) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.53
Darkish Green
#287C37
ΔE00 5.12
Tree Green
#2A7E19
ΔE00 5.68
Green
#008000
ΔE00 6.55
Deep Green
#02590F
ΔE00 7.45
Jungle Green
#048243
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12701E #701264
analogous
#357012 #12701E #12704D
triadic
#12701E #1E1270 #701E12
tetradic
#12701E #123570 #701264 #704D12
square
#12701E #123570 #701264 #704D12
split-complementary
#12701E #4D1270 #701235
monochromatic
#041A07 #0A3B10 #12701E #1AA52C #23D93A
Accessibility & contrast
On white
6.25
#12701E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#12701E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12701E
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12701E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12701E | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #12701e; /* rgb */ color: rgb(18, 112, 30); /* oklch */ color: oklch(47.6% 0.144 144.4);
Tailwind
colors: {
custom: {
50: '#649a5f',
500: '#12701e',
950: '#000000',
},
}SCSS
$custom: #12701e; $custom-light: #649a5f; $custom-dark: #000000;
JSON
{
"hex": "#12701e",
"rgb": {
"r": 18,
"g": 112,
"b": 30
},
"hsl": {
"h": 127.66,
"s": 72.308,
"l": 25.49
},
"oklch": {
"l": 0.47644,
"c": 0.1436,
"h": 144.4
},
"luminance": 0.11811
}Semantic roles & 50–950 ramp
primary
#12701E
secondary
#A73799
accent
#39D8EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79