#20702F#20702F
#20702F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.125 H 146.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #20702F |
|---|---|
| RGB | rgb(32, 112, 47) |
| HSL | hsl(131, 56%, 28%) |
| HSV | hsv(131, 71%, 44%) |
| CMYK | cmyk(71.4%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.37, -38.70, 28.96) |
| CIE-LCH | lch(41.37, 48.34, 143.19°) |
| OKLab | oklab(48.17% -0.1044 0.0691) |
| OKLCH | oklch(48.17% 0.125 146.5) |
| XYZ | xyz(6.9024, 12.0999, 4.6605) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.18
Darkgreen
#006400
ΔE00 6.49
Jungle Green
#048243
ΔE00 6.64
Tree Green
#2A7E19
ΔE00 7.10
Pine
#2B5D34
ΔE00 7.75
Forest Green
#2D5A27
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20702F #702061
analogous
#397020 #20702F #207057
triadic
#20702F #2F2070 #702F20
tetradic
#20702F #203970 #702061 #705720
square
#20702F #203970 #702061 #705720
split-complementary
#20702F #572070 #702039
monochromatic
#07180A #12401B #20702F #2EA043 #42C95B
Accessibility & contrast
On white
6.14
#20702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#20702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20702F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20702F | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#026D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #20702f; /* rgb */ color: rgb(32, 112, 47); /* oklch */ color: oklch(48.2% 0.125 146.5);
Tailwind
colors: {
custom: {
50: '#679a69',
500: '#20702f',
950: '#000000',
},
}SCSS
$custom: #20702f; $custom-light: #679a69; $custom-dark: #000000;
JSON
{
"hex": "#20702f",
"rgb": {
"r": 32,
"g": 112,
"b": 47
},
"hsl": {
"h": 131.25,
"s": 55.556,
"l": 28.235
},
"oklch": {
"l": 0.48166,
"c": 0.12523,
"h": 146.5
},
"luminance": 0.12101
}Semantic roles & 50–950 ramp
primary
#20702F
secondary
#A44893
accent
#49C3DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A