#2A7D1E#2A7D1E
#2A7D1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.152 H 141.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7D1E |
|---|---|
| RGB | rgb(42, 125, 30) |
| HSL | hsl(112, 61%, 30%) |
| HSV | hsv(112, 76%, 49%) |
| CMYK | cmyk(66.4%, 0%, 76%, 51%) |
| CIE-LAB | lab(45.98, -43.35, 41.94) |
| CIE-LCH | lch(45.98, 60.32, 135.95°) |
| OKLab | oklab(52% -0.1184 0.0948) |
| OKLCH | oklch(52% 0.152 141.3) |
| XYZ | xyz(8.5224, 15.2524, 3.7229) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.76
Green
#008000
ΔE00 2.91
Dark Grass Green
#388004
ΔE00 3.57
Darkish Green
#287C37
ΔE00 4.35
Forestgreen (CSS)
#228B22
ΔE00 4.96
Emerald Green
#028F1E
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7D1E #711E7D
analogous
#597D1E #2A7D1E #1E7D41
triadic
#2A7D1E #1E2A7D #7D1E2A
tetradic
#2A7D1E #1E597D #711E7D #7D411E
square
#2A7D1E #1E597D #711E7D #7D411E
split-complementary
#2A7D1E #411E7D #7D1E59
monochromatic
#091A06 #194C12 #2A7D1E #3BAE2A #55D243
Accessibility & contrast
On white
5.18
#2A7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#2A7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7D1E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7D1E | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#1B796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2a7d1e; /* rgb */ color: rgb(42, 125, 30); /* oklch */ color: oklch(52.0% 0.152 141.3);
Tailwind
colors: {
custom: {
50: '#6fa361',
500: '#2a7d1e',
950: '#000000',
},
}SCSS
$custom: #2a7d1e; $custom-light: #6fa361; $custom-dark: #000000;
JSON
{
"hex": "#2a7d1e",
"rgb": {
"r": 42,
"g": 125,
"b": 30
},
"hsl": {
"h": 112.421,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.51999,
"c": 0.15168,
"h": 141.3
},
"luminance": 0.15253
}Semantic roles & 50–950 ramp
primary
#2A7D1E
secondary
#A346B0
accent
#43E4D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79