#2E7A1C#2E7A1C
#2E7A1C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.147 H 140.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7A1C |
|---|---|
| RGB | rgb(46, 122, 28) |
| HSL | hsl(109, 63%, 29%) |
| HSV | hsv(109, 77%, 48%) |
| CMYK | cmyk(62.3%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(45.06, -41.39, 41.83) |
| CIE-LCH | lch(45.06, 58.84, 134.70°) |
| OKLab | oklab(51.27% -0.1135 0.0942) |
| OKLCH | oklch(51.27% 0.148 140.3) |
| XYZ | xyz(8.2955, 14.5830, 3.4760) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.52
Green
#008000
ΔE00 3.54
Dark Grass Green
#388004
ΔE00 3.71
Darkish Green
#287C37
ΔE00 4.61
Forestgreen (CSS)
#228B22
ΔE00 6.04
Emerald Green
#028F1E
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7A1C #681C7A
analogous
#5D7A1C #2E7A1C #1C7A39
triadic
#2E7A1C #1C2E7A #7A1C2E
tetradic
#2E7A1C #1C5D7A #681C7A #7A391C
square
#2E7A1C #1C5D7A #681C7A #7A391C
split-complementary
#2E7A1C #391C7A #7A1C5D
monochromatic
#091906 #1B4811 #2E7A1C #41AC27 #5AD33E
Accessibility & contrast
On white
5.36
#2E7A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#2E7A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7A1C
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7A1C | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#247668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2e7a1c; /* rgb */ color: rgb(46, 122, 28); /* oklch */ color: oklch(51.3% 0.147 140.3);
Tailwind
colors: {
custom: {
50: '#71a15f',
500: '#2e7a1c',
950: '#000000',
},
}SCSS
$custom: #2e7a1c; $custom-light: #71a15f; $custom-dark: #000000;
JSON
{
"hex": "#2e7a1c",
"rgb": {
"r": 46,
"g": 122,
"b": 28
},
"hsl": {
"h": 108.511,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.51268,
"c": 0.1475,
"h": 140.3
},
"luminance": 0.14584
}Semantic roles & 50–950 ramp
primary
#2E7A1C
secondary
#9A44AE
accent
#42E6C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79