#20721F#20721F
#20721F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.141 H 142.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #20721F |
|---|---|
| RGB | rgb(32, 114, 31) |
| HSL | hsl(119, 57%, 28%) |
| HSV | hsv(119, 73%, 45%) |
| CMYK | cmyk(71.9%, 0%, 72.8%, 55.3%) |
| CIE-LAB | lab(41.91, -41.42, 37.26) |
| CIE-LCH | lch(41.91, 55.71, 138.03°) |
| OKLab | oklab(48.55% -0.1125 0.0852) |
| OKLCH | oklch(48.55% 0.141 142.9) |
| XYZ | xyz(6.8599, 12.4399, 3.3357) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.60
Tree Green
#2A7E19
ΔE00 4.69
Darkgreen
#006400
ΔE00 5.20
Green
#008000
ΔE00 5.88
Dark Grass Green
#388004
ΔE00 6.98
Jungle Green
#048243
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20721F #711F72
analogous
#49721F #20721F #1F7247
triadic
#20721F #1F2072 #721F20
tetradic
#20721F #1F4972 #711F72 #72471F
square
#20721F #1F4972 #711F72 #72471F
split-complementary
#20721F #471F72 #721F49
monochromatic
#071807 #124212 #20721F #2EA22C #42CB40
Accessibility & contrast
On white
6.02
#20721F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#20721F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20721F
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20721F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20721F | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756712
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#096F61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #20721f; /* rgb */ color: rgb(32, 114, 31); /* oklch */ color: oklch(48.6% 0.141 142.9);
Tailwind
colors: {
custom: {
50: '#699b60',
500: '#20721f',
950: '#000000',
},
}SCSS
$custom: #20721f; $custom-light: #699b60; $custom-dark: #000000;
JSON
{
"hex": "#20721f",
"rgb": {
"r": 32,
"g": 114,
"b": 31
},
"hsl": {
"h": 119.277,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.48553,
"c": 0.14114,
"h": 142.9
},
"luminance": 0.12441
}Semantic roles & 50–950 ramp
primary
#20721F
secondary
#A547A6
accent
#47E0DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79