#2E7C2F#2E7C2F
#2E7C2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.136 H 143.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7C2F |
|---|---|
| RGB | rgb(46, 124, 47) |
| HSL | hsl(121, 46%, 33%) |
| HSV | hsv(121, 63%, 49%) |
| CMYK | cmyk(62.9%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(45.91, -40.25, 34.38) |
| CIE-LCH | lch(45.91, 52.93, 139.50°) |
| OKLab | oklab(52.02% -0.1093 0.0808) |
| OKLCH | oklch(52.02% 0.136 143.5) |
| XYZ | xyz(8.8469, 15.2005, 5.1565) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.82
Tree Green
#2A7E19
ΔE00 3.36
Jungle Green
#048243
ΔE00 5.04
Green
#008000
ΔE00 5.24
Dark Grass Green
#388004
ΔE00 5.89
Forestgreen (CSS)
#228B22
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7C2F #7C2E7B
analogous
#547C2E #2E7C2F #2E7C56
triadic
#2E7C2F #2F2E7C #7C2F2E
tetradic
#2E7C2F #2E547C #7C2E7B #7C562E
square
#2E7C2F #2E547C #7C2E7B #7C562E
split-complementary
#2E7C2F #562E7C #7C2E54
monochromatic
#0D230D #1D4F1E #2E7C2F #3FA940 #60C462
Accessibility & contrast
On white
5.20
#2E7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#2E7C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7C2F
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7C2F | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#1F796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2e7c2f; /* rgb */ color: rgb(46, 124, 47); /* oklch */ color: oklch(52.0% 0.136 143.5);
Tailwind
colors: {
custom: {
50: '#70a36a',
500: '#2e7c2f',
950: '#000000',
},
}SCSS
$custom: #2e7c2f; $custom-light: #70a36a; $custom-dark: #000000;
JSON
{
"hex": "#2e7c2f",
"rgb": {
"r": 46,
"g": 124,
"b": 47
},
"hsl": {
"h": 120.769,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.52024,
"c": 0.13593,
"h": 143.5
},
"luminance": 0.15201
}Semantic roles & 50–950 ramp
primary
#2E7C2F
secondary
#AB5BAA
accent
#52D4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A