#2C771E#2C771E
#2C771E is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.143 H 140.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C771E |
|---|---|
| RGB | rgb(44, 119, 30) |
| HSL | hsl(111, 60%, 29%) |
| HSV | hsv(111, 75%, 47%) |
| CMYK | cmyk(63%, 0%, 74.8%, 53.3%) |
| CIE-LAB | lab(43.98, -40.60, 39.93) |
| CIE-LCH | lch(43.98, 56.94, 135.47°) |
| OKLab | oklab(50.36% -0.1111 0.0906) |
| OKLCH | oklch(50.36% 0.143 140.8) |
| XYZ | xyz(7.8695, 13.8221, 3.4813) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.65
Darkish Green
#287C37
ΔE00 4.33
Green
#008000
ΔE00 4.39
Dark Grass Green
#388004
ΔE00 4.83
Darkgreen
#006400
ΔE00 6.91
Forestgreen (CSS)
#228B22
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C771E #691E77
analogous
#59771E #2C771E #1E773D
triadic
#2C771E #1E2C77 #771E2C
tetradic
#2C771E #1E5977 #691E77 #773D1E
square
#2C771E #1E5977 #691E77 #773D1E
split-complementary
#2C771E #3D1E77 #771E59
monochromatic
#091806 #1A4612 #2C771E #3EA82A #57CF40
Accessibility & contrast
On white
5.58
#2C771E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#2C771E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C771E
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C771E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C771E | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#217366
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2c771e; /* rgb */ color: rgb(44, 119, 30); /* oklch */ color: oklch(50.4% 0.143 140.8);
Tailwind
colors: {
custom: {
50: '#6f9f60',
500: '#2c771e',
950: '#000000',
},
}SCSS
$custom: #2c771e; $custom-light: #6f9f60; $custom-dark: #000000;
JSON
{
"hex": "#2c771e",
"rgb": {
"r": 44,
"g": 119,
"b": 30
},
"hsl": {
"h": 110.562,
"s": 59.732,
"l": 29.216
},
"oklch": {
"l": 0.50361,
"c": 0.14333,
"h": 140.8
},
"luminance": 0.13823
}Semantic roles & 50–950 ramp
primary
#2C771E
secondary
#9B46AB
accent
#45E3CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79