#20731F#20731F
#20731F is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.142 H 142.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #20731F |
|---|---|
| RGB | rgb(32, 115, 31) |
| HSL | hsl(119, 58%, 29%) |
| HSV | hsv(119, 73%, 45%) |
| CMYK | cmyk(72.2%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.26, -41.79, 37.63) |
| CIE-LCH | lch(42.26, 56.23, 138.00°) |
| OKLab | oklab(48.84% -0.1135 0.086) |
| OKLCH | oklch(48.84% 0.142 142.9) |
| XYZ | xyz(6.9733, 12.6667, 3.3735) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.36
Darkish Green
#287C37
ΔE00 4.41
Darkgreen
#006400
ΔE00 5.46
Green
#008000
ΔE00 5.56
Dark Grass Green
#388004
ΔE00 6.70
Jungle Green
#048243
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20731F #721F73
analogous
#4A731F #20731F #1F7348
triadic
#20731F #1F2073 #731F20
tetradic
#20731F #1F4A73 #721F73 #73481F
square
#20731F #1F4A73 #721F73 #73481F
split-complementary
#20731F #481F73 #731F4A
monochromatic
#071806 #134312 #20731F #2DA32C #42CC41
Accessibility & contrast
On white
5.94
#20731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#20731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20731F
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20731F | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#086F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #20731f; /* rgb */ color: rgb(32, 115, 31); /* oklch */ color: oklch(48.8% 0.142 142.9);
Tailwind
colors: {
custom: {
50: '#699c60',
500: '#20731f',
950: '#000000',
},
}SCSS
$custom: #20731f; $custom-light: #699c60; $custom-dark: #000000;
JSON
{
"hex": "#20731f",
"rgb": {
"r": 32,
"g": 115,
"b": 31
},
"hsl": {
"h": 119.286,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.48843,
"c": 0.14241,
"h": 142.9
},
"luminance": 0.12667
}Semantic roles & 50–950 ramp
primary
#20731F
secondary
#A647A7
accent
#47E1DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79