#2E7B2B#2E7B2B
#2E7B2B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.138 H 142.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7B2B |
|---|---|
| RGB | rgb(46, 123, 43) |
| HSL | hsl(118, 48%, 33%) |
| HSV | hsv(118, 65%, 48%) |
| CMYK | cmyk(62.6%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(45.52, -40.33, 35.87) |
| CIE-LCH | lch(45.52, 53.98, 138.35°) |
| OKLab | oklab(51.69% -0.1097 0.0836) |
| OKLCH | oklch(51.69% 0.138 142.7) |
| XYZ | xyz(8.6452, 14.9204, 4.7094) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.43
Tree Green
#2A7E19
ΔE00 2.88
Green
#008000
ΔE00 4.84
Dark Grass Green
#388004
ΔE00 5.43
Jungle Green
#048243
ΔE00 5.68
Forestgreen (CSS)
#228B22
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7B2B #782B7B
analogous
#567B2B #2E7B2B #2B7B50
triadic
#2E7B2B #2B2E7B #7B2B2E
tetradic
#2E7B2B #2B567B #782B7B #7B502B
square
#2E7B2B #2B567B #782B7B #7B502B
split-complementary
#2E7B2B #502B7B #7B2B56
monochromatic
#0C200B #1D4E1B #2E7B2B #3FA83B #5FC65B
Accessibility & contrast
On white
5.27
#2E7B2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#2E7B2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7B2B
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7B2B | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#20776A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2e7b2b; /* rgb */ color: rgb(46, 123, 43); /* oklch */ color: oklch(51.7% 0.138 142.7);
Tailwind
colors: {
custom: {
50: '#70a268',
500: '#2e7b2b',
950: '#000000',
},
}SCSS
$custom: #2e7b2b; $custom-light: #70a268; $custom-dark: #000000;
JSON
{
"hex": "#2e7b2b",
"rgb": {
"r": 46,
"g": 123,
"b": 43
},
"hsl": {
"h": 117.75,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.51694,
"c": 0.13797,
"h": 142.7
},
"luminance": 0.14921
}Semantic roles & 50–950 ramp
primary
#2E7B2B
secondary
#A856AB
accent
#50D8D3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A