#2E7F1D#2E7F1D
#2E7F1D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.153 H 140.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F1D |
|---|---|
| RGB | rgb(46, 127, 29) |
| HSL | hsl(110, 63%, 31%) |
| HSV | hsv(110, 77%, 50%) |
| CMYK | cmyk(63.8%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(46.77, -43.21, 43.16) |
| CIE-LCH | lch(46.77, 61.07, 135.03°) |
| OKLab | oklab(52.69% -0.1183 0.0972) |
| OKLCH | oklch(52.69% 0.153 140.6) |
| XYZ | xyz(8.9374, 15.8474, 3.7500) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.58
Green
#008000
ΔE00 2.79
Dark Grass Green
#388004
ΔE00 2.89
Forestgreen (CSS)
#228B22
ΔE00 4.30
Darkish Green
#287C37
ΔE00 4.88
Emerald Green
#028F1E
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F1D #6E1D7F
analogous
#5F7F1D #2E7F1D #1D7F3D
triadic
#2E7F1D #1D2E7F #7F1D2E
tetradic
#2E7F1D #1D5F7F #6E1D7F #7F3D1D
square
#2E7F1D #1D5F7F #6E1D7F #7F3D1D
split-complementary
#2E7F1D #3D1D7F #7F1D5F
monochromatic
#0A1B06 #1C4D12 #2E7F1D #40B128 #5CD442
Accessibility & contrast
On white
5.04
#2E7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2E7F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F1D
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F1D | 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)
#827309
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f1d; /* rgb */ color: rgb(46, 127, 29); /* oklch */ color: oklch(52.7% 0.153 140.6);
Tailwind
colors: {
custom: {
50: '#72a560',
500: '#2e7f1d',
950: '#000000',
},
}SCSS
$custom: #2e7f1d; $custom-light: #72a560; $custom-dark: #000000;
JSON
{
"hex": "#2e7f1d",
"rgb": {
"r": 46,
"g": 127,
"b": 29
},
"hsl": {
"h": 109.592,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.52689,
"c": 0.1531,
"h": 140.6
},
"luminance": 0.15848
}Semantic roles & 50–950 ramp
primary
#2E7F1D
secondary
#9F45B2
accent
#42E6C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79