#2E7F1E#2E7F1E
#2E7F1E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.152 H 140.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F1E |
|---|---|
| RGB | rgb(46, 127, 30) |
| HSL | hsl(110, 62%, 31%) |
| HSV | hsv(110, 76%, 50%) |
| CMYK | cmyk(63.8%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(46.78, -43.13, 42.79) |
| CIE-LCH | lch(46.78, 60.76, 135.23°) |
| OKLab | oklab(52.7% -0.1181 0.0965) |
| OKLCH | oklch(52.7% 0.152 140.7) |
| XYZ | xyz(8.9500, 15.8525, 3.8162) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.64
Green
#008000
ΔE00 2.86
Dark Grass Green
#388004
ΔE00 3.00
Forestgreen (CSS)
#228B22
ΔE00 4.30
Darkish Green
#287C37
ΔE00 4.76
Emerald Green
#028F1E
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F1E #6F1E7F
analogous
#5E7F1E #2E7F1E #1E7F3E
triadic
#2E7F1E #1E2E7F #7F1E2E
tetradic
#2E7F1E #1E5E7F #6F1E7F #7F3E1E
square
#2E7F1E #1E5E7F #6F1E7F #7F3E1E
split-complementary
#2E7F1E #3E1E7F #7F1E5E
monochromatic
#0A1C07 #1C4D12 #2E7F1E #40B12A #5CD344
Accessibility & contrast
On white
5.04
#2E7F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2E7F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F1E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F1E | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f1e; /* rgb */ color: rgb(46, 127, 30); /* oklch */ color: oklch(52.7% 0.152 140.7);
Tailwind
colors: {
custom: {
50: '#72a561',
500: '#2e7f1e',
950: '#000000',
},
}SCSS
$custom: #2e7f1e; $custom-light: #72a561; $custom-dark: #000000;
JSON
{
"hex": "#2e7f1e",
"rgb": {
"r": 46,
"g": 127,
"b": 30
},
"hsl": {
"h": 110.103,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.52697,
"c": 0.15249,
"h": 140.7
},
"luminance": 0.15853
}Semantic roles & 50–950 ramp
primary
#2E7F1E
secondary
#A047B2
accent
#43E5CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79