#2E791F#2E791F
#2E791F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.144 H 140.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2E791F |
|---|---|
| RGB | rgb(46, 121, 31) |
| HSL | hsl(110, 59%, 30%) |
| HSV | hsv(110, 74%, 47%) |
| CMYK | cmyk(62%, 0%, 74.4%, 52.5%) |
| CIE-LAB | lab(44.74, -40.76, 40.33) |
| CIE-LCH | lch(44.74, 57.34, 135.31°) |
| OKLab | oklab(51.01% -0.1116 0.0915) |
| OKLCH | oklch(51.01% 0.144 140.6) |
| XYZ | xyz(8.2110, 14.3538, 3.6339) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.01
Green
#008000
ΔE00 3.99
Darkish Green
#287C37
ΔE00 4.21
Dark Grass Green
#388004
ΔE00 4.28
Forestgreen (CSS)
#228B22
ΔE00 6.41
Jungle Green
#048243
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E791F #6A1F79
analogous
#5B791F #2E791F #1F793D
triadic
#2E791F #1F2E79 #791F2E
tetradic
#2E791F #1F5B79 #6A1F79 #793D1F
square
#2E791F #1F5B79 #6A1F79 #793D1F
split-complementary
#2E791F #3D1F79 #791F5B
monochromatic
#091806 #1B4813 #2E791F #41AA2B #5BCF43
Accessibility & contrast
On white
5.42
#2E791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#2E791F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E791F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E791F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E791F | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E10
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#237567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2e791f; /* rgb */ color: rgb(46, 121, 31); /* oklch */ color: oklch(51.0% 0.144 140.6);
Tailwind
colors: {
custom: {
50: '#70a061',
500: '#2e791f',
950: '#000000',
},
}SCSS
$custom: #2e791f; $custom-light: #70a061; $custom-dark: #000000;
JSON
{
"hex": "#2e791f",
"rgb": {
"r": 46,
"g": 121,
"b": 31
},
"hsl": {
"h": 110,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51009,
"c": 0.14433,
"h": 140.6
},
"luminance": 0.14355
}Semantic roles & 50–950 ramp
primary
#2E791F
secondary
#9C47AC
accent
#45E2C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79