#2A7E1A#2A7E1A
#2A7E1A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.155 H 140.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7E1A |
|---|---|
| RGB | rgb(42, 126, 26) |
| HSL | hsl(110, 66%, 30%) |
| HSV | hsv(110, 79%, 49%) |
| CMYK | cmyk(66.7%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(46.30, -44.03, 43.73) |
| CIE-LCH | lch(46.30, 62.06, 135.19°) |
| OKLab | oklab(52.25% -0.1205 0.098) |
| OKLCH | oklch(52.25% 0.155 140.9) |
| XYZ | xyz(8.6017, 15.4877, 3.5132) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.11
Green
#008000
ΔE00 2.47
Dark Grass Green
#388004
ΔE00 2.99
Forestgreen (CSS)
#228B22
ΔE00 4.62
Darkish Green
#287C37
ΔE00 4.94
Emerald Green
#028F1E
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7E1A #6E1A7E
analogous
#5C7E1A #2A7E1A #1A7E3C
triadic
#2A7E1A #1A2A7E #7E1A2A
tetradic
#2A7E1A #1A5C7E #6E1A7E #7E3C1A
square
#2A7E1A #1A5C7E #6E1A7E #7E3C1A
split-complementary
#2A7E1A #3C1A7E #7E1A5C
monochromatic
#081905 #194B10 #2A7E1A #3BB124 #55D73C
Accessibility & contrast
On white
5.12
#2A7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2A7E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7E1A
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7E1A | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#1B7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a7e1a; /* rgb */ color: rgb(42, 126, 26); /* oklch */ color: oklch(52.3% 0.155 140.9);
Tailwind
colors: {
custom: {
50: '#70a45f',
500: '#2a7e1a',
950: '#000000',
},
}SCSS
$custom: #2a7e1a; $custom-light: #70a45f; $custom-dark: #000000;
JSON
{
"hex": "#2a7e1a",
"rgb": {
"r": 42,
"g": 126,
"b": 26
},
"hsl": {
"h": 110.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.52254,
"c": 0.15526,
"h": 140.9
},
"luminance": 0.15489
}Semantic roles & 50–950 ramp
primary
#2A7E1A
secondary
#A042B2
accent
#3FE9CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79