#2E7B40#2E7B40
#2E7B40 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.0% C 0.118 H 148.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7B40 |
|---|---|
| RGB | rgb(46, 123, 64) |
| HSL | hsl(134, 46%, 33%) |
| HSV | hsv(134, 63%, 48%) |
| CMYK | cmyk(62.6%, 0%, 48%, 51.8%) |
| CIE-LAB | lab(45.79, -37.32, 25.34) |
| CIE-LCH | lch(45.79, 45.11, 145.82°) |
| OKLab | oklab(52% -0.1009 0.062) |
| OKLCH | oklch(52% 0.118 148.4) |
| XYZ | xyz(9.1344, 15.1160, 7.2858) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.01
Jungle Green
#048243
ΔE00 3.38
Sea Green
#2E8B57
ΔE00 6.45
Tree Green
#2A7E19
ΔE00 6.93
Dark Sea Green
#11875D
ΔE00 7.29
Dark Sage
#598556
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7B40 #7B2E69
analogous
#427B2E #2E7B40 #2E7B66
triadic
#2E7B40 #402E7B #7B402E
tetradic
#2E7B40 #2E427B #7B2E69 #7B662E
square
#2E7B40 #2E427B #7B2E69 #7B662E
split-complementary
#2E7B40 #662E7B #7B2E42
monochromatic
#0D2212 #1D4E29 #2E7B40 #3FA857 #60C377
Accessibility & contrast
On white
5.22
#2E7B40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2E7B40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7B40
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7B40 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#19796D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2e7b40; /* rgb */ color: rgb(46, 123, 64); /* oklch */ color: oklch(52.0% 0.118 148.4);
Tailwind
colors: {
custom: {
50: '#6fa276',
500: '#2e7b40',
950: '#000000',
},
}SCSS
$custom: #2e7b40; $custom-light: #6fa276; $custom-dark: #000000;
JSON
{
"hex": "#2e7b40",
"rgb": {
"r": 46,
"g": 123,
"b": 64
},
"hsl": {
"h": 134.026,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.52002,
"c": 0.11839,
"h": 148.4
},
"luminance": 0.15117
}Semantic roles & 50–950 ramp
primary
#2E7B40
secondary
#AA5B98
accent
#53B7D5
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B