#2E7F2F#2E7F2F
#2E7F2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.140 H 143.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F2F |
|---|---|
| RGB | rgb(46, 127, 47) |
| HSL | hsl(121, 47%, 34%) |
| HSV | hsv(121, 64%, 50%) |
| CMYK | cmyk(63.8%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.93, -41.43, 35.55) |
| CIE-LCH | lch(46.93, 54.59, 139.37°) |
| OKLab | oklab(52.86% -0.1125 0.0833) |
| OKLCH | oklch(52.86% 0.14 143.5) |
| XYZ | xyz(9.2286, 15.9639, 5.2838) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.37
Tree Green
#2A7E19
ΔE00 3.01
Green
#008000
ΔE00 4.81
Jungle Green
#048243
ΔE00 4.97
Forestgreen (CSS)
#228B22
ΔE00 4.99
Dark Grass Green
#388004
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F2F #7F2E7E
analogous
#567F2E #2E7F2F #2E7F58
triadic
#2E7F2F #2F2E7F #7F2F2E
tetradic
#2E7F2F #2E567F #7F2E7E #7F582E
square
#2E7F2F #2E567F #7F2E7E #7F582E
split-complementary
#2E7F2F #582E7F #7F2E56
monochromatic
#0D250E #1E521E #2E7F2F #3EAC40 #61C663
Accessibility & contrast
On white
5.01
#2E7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#2E7F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F2F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F2F | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827326
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#1E7B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f2f; /* rgb */ color: rgb(46, 127, 47); /* oklch */ color: oklch(52.9% 0.140 143.5);
Tailwind
colors: {
custom: {
50: '#71a56b',
500: '#2e7f2f',
950: '#000000',
},
}SCSS
$custom: #2e7f2f; $custom-light: #71a56b; $custom-dark: #000000;
JSON
{
"hex": "#2e7f2f",
"rgb": {
"r": 46,
"g": 127,
"b": 47
},
"hsl": {
"h": 120.741,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.52865,
"c": 0.13999,
"h": 143.5
},
"luminance": 0.15965
}Semantic roles & 50–950 ramp
primary
#2E7F2F
secondary
#AD5CAC
accent
#51D5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A