#2E7B1F#2E7B1F
#2E7B1F is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.147 H 140.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7B1F |
|---|---|
| RGB | rgb(46, 123, 31) |
| HSL | hsl(110, 60%, 30%) |
| HSV | hsv(110, 75%, 48%) |
| CMYK | cmyk(62.6%, 0%, 74.8%, 51.8%) |
| CIE-LAB | lab(45.42, -41.53, 41.03) |
| CIE-LCH | lch(45.42, 58.38, 135.35°) |
| OKLab | oklab(51.58% -0.1137 0.093) |
| OKLCH | oklch(51.58% 0.147 140.7) |
| XYZ | xyz(8.4566, 14.8449, 3.7158) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.36
Green
#008000
ΔE00 3.53
Dark Grass Green
#388004
ΔE00 3.80
Darkish Green
#287C37
ΔE00 4.24
Forestgreen (CSS)
#228B22
ΔE00 5.70
Emerald Green
#028F1E
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7B1F #6C1F7B
analogous
#5C7B1F #2E7B1F #1F7B3E
triadic
#2E7B1F #1F2E7B #7B1F2E
tetradic
#2E7B1F #1F5C7B #6C1F7B #7B3E1F
square
#2E7B1F #1F5C7B #6C1F7B #7B3E1F
split-complementary
#2E7B1F #3E1F7B #7B1F5C
monochromatic
#091906 #1C4A13 #2E7B1F #40AC2B #5BD044
Accessibility & contrast
On white
5.29
#2E7B1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#2E7B1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7B1F
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7B1F | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#237769
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2e7b1f; /* rgb */ color: rgb(46, 123, 31); /* oklch */ color: oklch(51.6% 0.147 140.7);
Tailwind
colors: {
custom: {
50: '#71a261',
500: '#2e7b1f',
950: '#000000',
},
}SCSS
$custom: #2e7b1f; $custom-light: #71a261; $custom-dark: #000000;
JSON
{
"hex": "#2e7b1f",
"rgb": {
"r": 46,
"g": 123,
"b": 31
},
"hsl": {
"h": 110.217,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.51575,
"c": 0.14687,
"h": 140.7
},
"luminance": 0.14846
}Semantic roles & 50–950 ramp
primary
#2E7B1F
secondary
#9E48AE
accent
#45E3C9
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79