#20731C#20731C
#20731C is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.144 H 142.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #20731C |
|---|---|
| RGB | rgb(32, 115, 28) |
| HSL | hsl(117, 61%, 28%) |
| HSV | hsv(117, 76%, 45%) |
| CMYK | cmyk(72.2%, 0%, 75.7%, 54.9%) |
| CIE-LAB | lab(42.23, -42.07, 38.84) |
| CIE-LCH | lch(42.23, 57.26, 137.28°) |
| OKLab | oklab(48.82% -0.1144 0.0881) |
| OKLCH | oklch(48.82% 0.144 142.4) |
| XYZ | xyz(6.9356, 12.6516, 3.1749) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.18
Darkish Green
#287C37
ΔE00 4.72
Green
#008000
ΔE00 5.32
Darkgreen
#006400
ΔE00 5.34
Dark Grass Green
#388004
ΔE00 6.42
Jungle Green
#048243
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20731C #6F1C73
analogous
#4B731C #20731C #1C7343
triadic
#20731C #1C2073 #731C20
tetradic
#20731C #1C4B73 #6F1C73 #73431C
square
#20731C #1C4B73 #6F1C73 #73431C
split-complementary
#20731C #431C73 #731C4B
monochromatic
#071906 #124210 #20731C #2EA428 #41CF3A
Accessibility & contrast
On white
5.95
#20731C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#20731C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20731C
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20731C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20731C | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#0A6F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #20731c; /* rgb */ color: rgb(32, 115, 28); /* oklch */ color: oklch(48.8% 0.144 142.4);
Tailwind
colors: {
custom: {
50: '#699c5e',
500: '#20731c',
950: '#000000',
},
}SCSS
$custom: #20731c; $custom-light: #699c5e; $custom-dark: #000000;
JSON
{
"hex": "#20731c",
"rgb": {
"r": 32,
"g": 115,
"b": 28
},
"hsl": {
"h": 117.241,
"s": 60.839,
"l": 28.039
},
"oklch": {
"l": 0.48817,
"c": 0.14444,
"h": 142.4
},
"luminance": 0.12652
}Semantic roles & 50–950 ramp
primary
#20731C
secondary
#A343A7
accent
#44E4DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79