#2E7F1A#2E7F1A
#2E7F1A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.155 H 140.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F1A |
|---|---|
| RGB | rgb(46, 127, 26) |
| HSL | hsl(108, 66%, 30%) |
| HSV | hsv(108, 80%, 50%) |
| CMYK | cmyk(63.8%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(46.76, -43.43, 44.22) |
| CIE-LCH | lch(46.76, 61.98, 134.48°) |
| OKLab | oklab(52.67% -0.1191 0.0989) |
| OKLCH | oklch(52.67% 0.155 140.3) |
| XYZ | xyz(8.9021, 15.8333, 3.5641) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.53
Dark Grass Green
#388004
ΔE00 2.56
Green
#008000
ΔE00 2.63
Forestgreen (CSS)
#228B22
ΔE00 4.33
Darkish Green
#287C37
ΔE00 5.23
Emerald Green
#028F1E
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F1A #6B1A7F
analogous
#607F1A #2E7F1A #1A7F39
triadic
#2E7F1A #1A2E7F #7F1A2E
tetradic
#2E7F1A #1A607F #6B1A7F #7F391A
square
#2E7F1A #1A607F #6B1A7F #7F391A
split-complementary
#2E7F1A #391A7F #7F1A60
monochromatic
#091905 #1C4C10 #2E7F1A #40B224 #5BD73C
Accessibility & contrast
On white
5.04
#2E7F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2E7F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F1A
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F1A | 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)
#837302
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#227B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f1a; /* rgb */ color: rgb(46, 127, 26); /* oklch */ color: oklch(52.7% 0.155 140.3);
Tailwind
colors: {
custom: {
50: '#72a55f',
500: '#2e7f1a',
950: '#000000',
},
}SCSS
$custom: #2e7f1a; $custom-light: #72a55f; $custom-dark: #000000;
JSON
{
"hex": "#2e7f1a",
"rgb": {
"r": 46,
"g": 127,
"b": 26
},
"hsl": {
"h": 108.119,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.52668,
"c": 0.15482,
"h": 140.3
},
"luminance": 0.15834
}Semantic roles & 50–950 ramp
primary
#2E7F1A
secondary
#9D42B3
accent
#3FE9C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79