#2E791A#2E791A
#2E791A is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.147 H 140.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E791A |
|---|---|
| RGB | rgb(46, 121, 26) |
| HSL | hsl(107, 65%, 29%) |
| HSV | hsv(107, 79%, 47%) |
| CMYK | cmyk(62%, 0%, 78.5%, 52.5%) |
| CIE-LAB | lab(44.70, -41.16, 42.22) |
| CIE-LCH | lch(44.70, 58.96, 134.27°) |
| OKLab | oklab(50.97% -0.113 0.0947) |
| OKLCH | oklch(50.97% 0.147 140) |
| XYZ | xyz(8.1502, 14.3294, 3.3134) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.80
Green
#008000
ΔE00 3.68
Dark Grass Green
#388004
ΔE00 3.79
Darkish Green
#287C37
ΔE00 4.85
Forestgreen (CSS)
#228B22
ΔE00 6.39
Darkgreen
#006400
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E791A #651A79
analogous
#5E791A #2E791A #1A7936
triadic
#2E791A #1A2E79 #791A2E
tetradic
#2E791A #1A5E79 #651A79 #79361A
square
#2E791A #1A5E79 #651A79 #79361A
split-complementary
#2E791A #361A79 #791A5E
monochromatic
#0A1905 #1B470F #2E791A #41AB25 #5AD439
Accessibility & contrast
On white
5.43
#2E791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#2E791A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E791A
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E791A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E791A | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#247567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2e791a; /* rgb */ color: rgb(46, 121, 26); /* oklch */ color: oklch(51.0% 0.147 140.0);
Tailwind
colors: {
custom: {
50: '#71a05e',
500: '#2e791a',
950: '#000000',
},
}SCSS
$custom: #2e791a; $custom-light: #71a05e; $custom-dark: #000000;
JSON
{
"hex": "#2e791a",
"rgb": {
"r": 46,
"g": 121,
"b": 26
},
"hsl": {
"h": 107.368,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.5097,
"c": 0.14745,
"h": 140
},
"luminance": 0.1433
}Semantic roles & 50–950 ramp
primary
#2E791A
secondary
#9741AD
accent
#40E8C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79