#2D771F#2D771F
#2D771F is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.142 H 140.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D771F |
|---|---|
| RGB | rgb(45, 119, 31) |
| HSL | hsl(110, 59%, 29%) |
| HSV | hsv(110, 74%, 47%) |
| CMYK | cmyk(62.2%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(44.02, -40.25, 39.57) |
| CIE-LCH | lch(44.02, 56.44, 135.48°) |
| OKLab | oklab(50.41% -0.1101 0.09) |
| OKLCH | oklch(50.41% 0.142 140.8) |
| XYZ | xyz(7.9260, 13.8497, 3.5516) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.70
Darkish Green
#287C37
ΔE00 4.25
Green
#008000
ΔE00 4.49
Dark Grass Green
#388004
ΔE00 4.87
Darkgreen
#006400
ΔE00 6.97
Forestgreen (CSS)
#228B22
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D771F #691F77
analogous
#59771F #2D771F #1F773D
triadic
#2D771F #1F2D77 #771F2D
tetradic
#2D771F #1F5977 #691F77 #773D1F
square
#2D771F #1F5977 #691F77 #773D1F
split-complementary
#2D771F #3D1F77 #771F59
monochromatic
#091806 #1B4612 #2D771F #3FA82C #59CE43
Accessibility & contrast
On white
5.57
#2D771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#2D771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D771F
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D771F | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#227366
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2d771f; /* rgb */ color: rgb(45, 119, 31); /* oklch */ color: oklch(50.4% 0.142 140.8);
Tailwind
colors: {
custom: {
50: '#709f60',
500: '#2d771f',
950: '#000000',
},
}SCSS
$custom: #2d771f; $custom-light: #709f60; $custom-dark: #000000;
JSON
{
"hex": "#2d771f",
"rgb": {
"r": 45,
"g": 119,
"b": 31
},
"hsl": {
"h": 110.455,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50406,
"c": 0.14222,
"h": 140.8
},
"luminance": 0.1385
}Semantic roles & 50–950 ramp
primary
#2D771F
secondary
#9B47AB
accent
#46E2C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79