#2E7E30#2E7E30
#2E7E30 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.138 H 143.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7E30 |
|---|---|
| RGB | rgb(46, 126, 48) |
| HSL | hsl(122, 47%, 34%) |
| HSV | hsv(122, 63%, 49%) |
| CMYK | cmyk(63.5%, 0%, 61.9%, 50.6%) |
| CIE-LAB | lab(46.60, -40.91, 34.68) |
| CIE-LCH | lch(46.60, 53.63, 139.71°) |
| OKLab | oklab(52.6% -0.111 0.0816) |
| OKLCH | oklch(52.6% 0.138 143.7) |
| XYZ | xyz(9.1205, 15.7151, 5.3484) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.98
Tree Green
#2A7E19
ΔE00 3.26
Jungle Green
#048243
ΔE00 4.82
Green
#008000
ΔE00 5.09
Forestgreen (CSS)
#228B22
ΔE00 5.43
Dark Grass Green
#388004
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7E30 #7E2E7C
analogous
#547E2E #2E7E30 #2E7E58
triadic
#2E7E30 #302E7E #7E302E
tetradic
#2E7E30 #2E547E #7E2E7C #7E582E
square
#2E7E30 #2E547E #7E2E7C #7E582E
split-complementary
#2E7E30 #582E7E #7E2E54
monochromatic
#0D240E #1E511F #2E7E30 #3EAB41 #61C564
Accessibility & contrast
On white
5.07
#2E7E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2E7E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7E30
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7E30 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#1E7B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2e7e30; /* rgb */ color: rgb(46, 126, 48); /* oklch */ color: oklch(52.6% 0.138 143.7);
Tailwind
colors: {
custom: {
50: '#71a46b',
500: '#2e7e30',
950: '#000000',
},
}SCSS
$custom: #2e7e30; $custom-light: #71a46b; $custom-dark: #000000;
JSON
{
"hex": "#2e7e30",
"rgb": {
"r": 46,
"g": 126,
"b": 48
},
"hsl": {
"h": 121.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.52598,
"c": 0.13778,
"h": 143.7
},
"luminance": 0.15716
}Semantic roles & 50–950 ramp
primary
#2E7E30
secondary
#AC5CAA
accent
#52D3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A