#12701F#12701F
#12701F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.143 H 144.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #12701F |
|---|---|
| RGB | rgb(18, 112, 31) |
| HSL | hsl(128, 72%, 25%) |
| HSV | hsv(128, 84%, 44%) |
| CMYK | cmyk(83.9%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(40.92, -43.10, 36.13) |
| CIE-LCH | lch(40.92, 56.24, 140.03°) |
| OKLab | oklab(47.65% -0.1164 0.0829) |
| OKLCH | oklch(47.65% 0.143 144.5) |
| XYZ | xyz(6.2905, 11.8151, 3.2451) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.61
Darkish Green
#287C37
ΔE00 5.05
Tree Green
#2A7E19
ΔE00 5.75
Green
#008000
ΔE00 6.64
Deep Green
#02590F
ΔE00 7.44
Jungle Green
#048243
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12701F #701263
analogous
#347012 #12701F #12704E
triadic
#12701F #1F1270 #701F12
tetradic
#12701F #123470 #701263 #704E12
square
#12701F #123470 #701263 #704E12
split-complementary
#12701F #4E1270 #701234
monochromatic
#041A07 #0A3B10 #12701F #1AA52E #23D93C
Accessibility & contrast
On white
6.24
#12701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#12701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12701F
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12701F | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #12701f; /* rgb */ color: rgb(18, 112, 31); /* oklch */ color: oklch(47.7% 0.143 144.5);
Tailwind
colors: {
custom: {
50: '#649a5f',
500: '#12701f',
950: '#000000',
},
}SCSS
$custom: #12701f; $custom-light: #649a5f; $custom-dark: #000000;
JSON
{
"hex": "#12701f",
"rgb": {
"r": 18,
"g": 112,
"b": 31
},
"hsl": {
"h": 128.298,
"s": 72.308,
"l": 25.49
},
"oklch": {
"l": 0.47654,
"c": 0.14289,
"h": 144.5
},
"luminance": 0.11816
}Semantic roles & 50–950 ramp
primary
#12701F
secondary
#A73798
accent
#39D6EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79