#2D7E1D#2D7E1D
#2D7E1D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.152 H 140.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7E1D |
|---|---|
| RGB | rgb(45, 126, 29) |
| HSL | hsl(110, 63%, 30%) |
| HSV | hsv(110, 77%, 49%) |
| CMYK | cmyk(64.3%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.40, -43.08, 42.78) |
| CIE-LCH | lch(46.40, 60.71, 135.20°) |
| OKLab | oklab(52.37% -0.1179 0.0964) |
| OKLCH | oklch(52.37% 0.152 140.7) |
| XYZ | xyz(8.7644, 15.5675, 3.7051) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.46
Green
#008000
ΔE00 2.83
Dark Grass Green
#388004
ΔE00 3.08
Forestgreen (CSS)
#228B22
ΔE00 4.63
Darkish Green
#287C37
ΔE00 4.71
Emerald Green
#028F1E
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7E1D #6E1D7E
analogous
#5D7E1D #2D7E1D #1D7E3D
triadic
#2D7E1D #1D2D7E #7E1D2D
tetradic
#2D7E1D #1D5D7E #6E1D7E #7E3D1D
square
#2D7E1D #1D5D7E #6E1D7E #7E3D1D
split-complementary
#2D7E1D #3D1D7E #7E1D5D
monochromatic
#091B06 #1B4C12 #2D7E1D #3FB028 #5AD342
Accessibility & contrast
On white
5.11
#2D7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2D7E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7E1D
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7E1D | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817209
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2d7e1d; /* rgb */ color: rgb(45, 126, 29); /* oklch */ color: oklch(52.4% 0.152 140.7);
Tailwind
colors: {
custom: {
50: '#71a460',
500: '#2d7e1d',
950: '#000000',
},
}SCSS
$custom: #2d7e1d; $custom-light: #71a460; $custom-dark: #000000;
JSON
{
"hex": "#2d7e1d",
"rgb": {
"r": 45,
"g": 126,
"b": 29
},
"hsl": {
"h": 110.103,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52373,
"c": 0.1523,
"h": 140.7
},
"luminance": 0.15568
}Semantic roles & 50–950 ramp
primary
#2D7E1D
secondary
#A045B1
accent
#42E6CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79