#20751F#20751F
#20751F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.145 H 142.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #20751F |
|---|---|
| RGB | rgb(32, 117, 31) |
| HSL | hsl(119, 58%, 29%) |
| HSV | hsv(119, 74%, 46%) |
| CMYK | cmyk(72.6%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(42.96, -42.52, 38.36) |
| CIE-LCH | lch(42.96, 57.26, 137.95°) |
| OKLab | oklab(49.42% -0.1155 0.0875) |
| OKLCH | oklch(49.42% 0.145 142.8) |
| XYZ | xyz(7.2038, 13.1278, 3.4503) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.70
Darkish Green
#287C37
ΔE00 4.10
Green
#008000
ΔE00 4.93
Darkgreen
#006400
ΔE00 6.03
Dark Grass Green
#388004
ΔE00 6.14
Jungle Green
#048243
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20751F #741F75
analogous
#4B751F #20751F #1F7549
triadic
#20751F #1F2075 #751F20
tetradic
#20751F #1F4B75 #741F75 #75491F
square
#20751F #1F4B75 #741F75 #75491F
split-complementary
#20751F #491F75 #751F4B
monochromatic
#071806 #134512 #20751F #2DA52C #43CD42
Accessibility & contrast
On white
5.79
#20751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#20751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20751F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20751F | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#077164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #20751f; /* rgb */ color: rgb(32, 117, 31); /* oklch */ color: oklch(49.4% 0.145 142.8);
Tailwind
colors: {
custom: {
50: '#699e60',
500: '#20751f',
950: '#000000',
},
}SCSS
$custom: #20751f; $custom-light: #699e60; $custom-dark: #000000;
JSON
{
"hex": "#20751f",
"rgb": {
"r": 32,
"g": 117,
"b": 31
},
"hsl": {
"h": 119.302,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.49422,
"c": 0.1449,
"h": 142.8
},
"luminance": 0.13129
}Semantic roles & 50–950 ramp
primary
#20751F
secondary
#A847A9
accent
#46E1E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79