#2A7E1D#2A7E1D
#2A7E1D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.154 H 141.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7E1D |
|---|---|
| RGB | rgb(42, 126, 29) |
| HSL | hsl(112, 63%, 30%) |
| HSV | hsv(112, 77%, 49%) |
| CMYK | cmyk(66.7%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.31, -43.80, 42.66) |
| CIE-LCH | lch(46.31, 61.15, 135.76°) |
| OKLab | oklab(52.28% -0.1197 0.0962) |
| OKLCH | oklch(52.28% 0.154 141.2) |
| XYZ | xyz(8.6370, 15.5018, 3.6991) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.48
Green
#008000
ΔE00 2.69
Dark Grass Green
#388004
ΔE00 3.30
Darkish Green
#287C37
ΔE00 4.58
Forestgreen (CSS)
#228B22
ΔE00 4.61
Emerald Green
#028F1E
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7E1D #711D7E
analogous
#5A7E1D #2A7E1D #1D7E40
triadic
#2A7E1D #1D2A7E #7E1D2A
tetradic
#2A7E1D #1D5A7E #711D7E #7E401D
square
#2A7E1D #1D5A7E #711D7E #7E401D
split-complementary
#2A7E1D #401D7E #7E1D5A
monochromatic
#091B06 #194C12 #2A7E1D #3BB028 #55D342
Accessibility & contrast
On white
5.12
#2A7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2A7E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7E1D
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7E1D | 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)
#817209
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#1B7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a7e1d; /* rgb */ color: rgb(42, 126, 29); /* oklch */ color: oklch(52.3% 0.154 141.2);
Tailwind
colors: {
custom: {
50: '#70a460',
500: '#2a7e1d',
950: '#000000',
},
}SCSS
$custom: #2a7e1d; $custom-light: #70a460; $custom-dark: #000000;
JSON
{
"hex": "#2a7e1d",
"rgb": {
"r": 42,
"g": 126,
"b": 29
},
"hsl": {
"h": 111.959,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52275,
"c": 0.15352,
"h": 141.2
},
"luminance": 0.15503
}Semantic roles & 50–950 ramp
primary
#2A7E1D
secondary
#A345B1
accent
#42E6D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79