#20701F#20701F
#20701F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.139 H 142.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #20701F |
|---|---|
| RGB | rgb(32, 112, 31) |
| HSL | hsl(119, 57%, 28%) |
| HSV | hsv(119, 72%, 44%) |
| CMYK | cmyk(71.4%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.21, -40.68, 36.52) |
| CIE-LCH | lch(41.21, 54.67, 138.09°) |
| OKLab | oklab(47.97% -0.1105 0.0837) |
| OKLCH | oklch(47.97% 0.139 142.9) |
| XYZ | xyz(6.6368, 11.9936, 3.2613) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.69
Darkish Green
#287C37
ΔE00 5.01
Tree Green
#2A7E19
ΔE00 5.37
Green
#008000
ΔE00 6.53
Dark Grass Green
#388004
ΔE00 7.57
Deep Green
#02590F
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20701F #6F1F70
analogous
#48701F #20701F #1F7046
triadic
#20701F #1F2070 #701F20
tetradic
#20701F #1F4870 #6F1F70 #70461F
square
#20701F #1F4870 #6F1F70 #70461F
split-complementary
#20701F #461F70 #701F48
monochromatic
#071807 #124012 #20701F #2EA02C #41CA3F
Accessibility & contrast
On white
6.18
#20701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#20701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20701F
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20701F | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #20701f; /* rgb */ color: rgb(32, 112, 31); /* oklch */ color: oklch(48.0% 0.139 142.9);
Tailwind
colors: {
custom: {
50: '#689a5f',
500: '#20701f',
950: '#000000',
},
}SCSS
$custom: #20701f; $custom-light: #689a5f; $custom-dark: #000000;
JSON
{
"hex": "#20701f",
"rgb": {
"r": 32,
"g": 112,
"b": 31
},
"hsl": {
"h": 119.259,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.47972,
"c": 0.13861,
"h": 142.9
},
"luminance": 0.11994
}Semantic roles & 50–950 ramp
primary
#20701F
secondary
#A347A4
accent
#48E0DE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79