#2E771F#2E771F
#2E771F is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.142 H 140.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E771F |
|---|---|
| RGB | rgb(46, 119, 31) |
| HSL | hsl(110, 59%, 29%) |
| HSV | hsv(110, 74%, 47%) |
| CMYK | cmyk(61.3%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(44.05, -39.98, 39.62) |
| CIE-LCH | lch(44.05, 56.29, 135.26°) |
| OKLab | oklab(50.44% -0.1095 0.09) |
| OKLCH | oklch(50.44% 0.142 140.6) |
| XYZ | xyz(7.9705, 13.8727, 3.5537) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.70
Darkish Green
#287C37
ΔE00 4.30
Green
#008000
ΔE00 4.52
Dark Grass Green
#388004
ΔE00 4.81
Darkgreen
#006400
ΔE00 7.01
Forestgreen (CSS)
#228B22
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E771F #681F77
analogous
#5A771F #2E771F #1F773C
triadic
#2E771F #1F2E77 #771F2E
tetradic
#2E771F #1F5A77 #681F77 #773C1F
square
#2E771F #1F5A77 #681F77 #773C1F
split-complementary
#2E771F #3C1F77 #771F5A
monochromatic
#091806 #1B4612 #2E771F #41A82C #5ACE43
Accessibility & contrast
On white
5.56
#2E771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#2E771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E771F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E771F | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#247366
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2e771f; /* rgb */ color: rgb(46, 119, 31); /* oklch */ color: oklch(50.4% 0.142 140.6);
Tailwind
colors: {
custom: {
50: '#709f60',
500: '#2e771f',
950: '#000000',
},
}SCSS
$custom: #2e771f; $custom-light: #709f60; $custom-dark: #000000;
JSON
{
"hex": "#2e771f",
"rgb": {
"r": 46,
"g": 119,
"b": 31
},
"hsl": {
"h": 109.773,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50442,
"c": 0.14177,
"h": 140.6
},
"luminance": 0.13873
}Semantic roles & 50–950 ramp
primary
#2E771F
secondary
#9A47AB
accent
#46E2C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79