#20741F#20741F
#20741F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.144 H 142.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #20741F |
|---|---|
| RGB | rgb(32, 116, 31) |
| HSL | hsl(119, 58%, 29%) |
| HSV | hsv(119, 73%, 45%) |
| CMYK | cmyk(72.4%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.61, -42.15, 37.99) |
| CIE-LCH | lch(42.61, 56.75, 137.97°) |
| OKLab | oklab(49.13% -0.1145 0.0867) |
| OKLCH | oklch(49.13% 0.144 142.9) |
| XYZ | xyz(7.0880, 12.8960, 3.4117) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.03
Darkish Green
#287C37
ΔE00 4.25
Green
#008000
ΔE00 5.24
Darkgreen
#006400
ΔE00 5.74
Dark Grass Green
#388004
ΔE00 6.41
Jungle Green
#048243
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20741F #731F74
analogous
#4B741F #20741F #1F7449
triadic
#20741F #1F2074 #741F20
tetradic
#20741F #1F4B74 #731F74 #74491F
square
#20741F #1F4B74 #731F74 #74491F
split-complementary
#20741F #491F74 #741F4B
monochromatic
#071806 #134412 #20741F #2DA42C #43CC41
Accessibility & contrast
On white
5.87
#20741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#20741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20741F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20741F | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#087063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #20741f; /* rgb */ color: rgb(32, 116, 31); /* oklch */ color: oklch(49.1% 0.144 142.9);
Tailwind
colors: {
custom: {
50: '#699d60',
500: '#20741f',
950: '#000000',
},
}SCSS
$custom: #20741f; $custom-light: #699d60; $custom-dark: #000000;
JSON
{
"hex": "#20741f",
"rgb": {
"r": 32,
"g": 116,
"b": 31
},
"hsl": {
"h": 119.294,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49133,
"c": 0.14366,
"h": 142.9
},
"luminance": 0.12897
}Semantic roles & 50–950 ramp
primary
#20741F
secondary
#A747A8
accent
#47E1DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79