#2D7A1E#2D7A1E
#2D7A1E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.147 H 140.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7A1E |
|---|---|
| RGB | rgb(45, 122, 30) |
| HSL | hsl(110, 61%, 30%) |
| HSV | hsv(110, 75%, 48%) |
| CMYK | cmyk(63.1%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(45.04, -41.49, 41.02) |
| CIE-LCH | lch(45.04, 58.35, 135.32°) |
| OKLab | oklab(51.25% -0.1136 0.0929) |
| OKLCH | oklch(51.25% 0.147 140.7) |
| XYZ | xyz(8.2757, 14.5699, 3.6042) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.62
Green
#008000
ΔE00 3.64
Dark Grass Green
#388004
ΔE00 3.98
Darkish Green
#287C37
ΔE00 4.30
Forestgreen (CSS)
#228B22
ΔE00 6.04
Jungle Green
#048243
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7A1E #6B1E7A
analogous
#5B7A1E #2D7A1E #1E7A3D
triadic
#2D7A1E #1E2D7A #7A1E2D
tetradic
#2D7A1E #1E5B7A #6B1E7A #7A3D1E
square
#2D7A1E #1E5B7A #6B1E7A #7A3D1E
split-complementary
#2D7A1E #3D1E7A #7A1E5B
monochromatic
#091906 #1B4912 #2D7A1E #3FAB2A #59D042
Accessibility & contrast
On white
5.37
#2D7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#2D7A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7A1E
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7A1E | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E0D
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#227668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2d7a1e; /* rgb */ color: rgb(45, 122, 30); /* oklch */ color: oklch(51.2% 0.147 140.7);
Tailwind
colors: {
custom: {
50: '#70a160',
500: '#2d7a1e',
950: '#000000',
},
}SCSS
$custom: #2d7a1e; $custom-light: #70a160; $custom-dark: #000000;
JSON
{
"hex": "#2d7a1e",
"rgb": {
"r": 45,
"g": 122,
"b": 30
},
"hsl": {
"h": 110.217,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.51249,
"c": 0.14669,
"h": 140.7
},
"luminance": 0.14571
}Semantic roles & 50–950 ramp
primary
#2D7A1E
secondary
#9D46AE
accent
#44E4CA
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79