#2D7D1E#2D7D1E
#2D7D1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.150 H 140.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7D1E |
|---|---|
| RGB | rgb(45, 125, 30) |
| HSL | hsl(111, 61%, 30%) |
| HSV | hsv(111, 76%, 49%) |
| CMYK | cmyk(64%, 0%, 76%, 51%) |
| CIE-LAB | lab(46.07, -42.63, 42.06) |
| CIE-LCH | lch(46.07, 59.89, 135.38°) |
| OKLab | oklab(52.1% -0.1166 0.095) |
| OKLCH | oklch(52.1% 0.15 140.8) |
| XYZ | xyz(8.6497, 15.3180, 3.7289) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.71
Green
#008000
ΔE00 3.04
Dark Grass Green
#388004
ΔE00 3.36
Darkish Green
#287C37
ΔE00 4.47
Forestgreen (CSS)
#228B22
ΔE00 4.98
Emerald Green
#028F1E
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7D1E #6E1E7D
analogous
#5C7D1E #2D7D1E #1E7D3E
triadic
#2D7D1E #1E2D7D #7D1E2D
tetradic
#2D7D1E #1E5C7D #6E1E7D #7D3E1E
square
#2D7D1E #1E5C7D #6E1E7D #7D3E1E
split-complementary
#2D7D1E #3E1E7D #7D1E5C
monochromatic
#091A06 #1B4C12 #2D7D1E #3FAE2A #5AD243
Accessibility & contrast
On white
5.17
#2D7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2D7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7D1E
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7D1E | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2d7d1e; /* rgb */ color: rgb(45, 125, 30); /* oklch */ color: oklch(52.1% 0.150 140.8);
Tailwind
colors: {
custom: {
50: '#71a361',
500: '#2d7d1e',
950: '#000000',
},
}SCSS
$custom: #2d7d1e; $custom-light: #71a361; $custom-dark: #000000;
JSON
{
"hex": "#2d7d1e",
"rgb": {
"r": 45,
"g": 125,
"b": 30
},
"hsl": {
"h": 110.526,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.52098,
"c": 0.15044,
"h": 140.8
},
"luminance": 0.15319
}Semantic roles & 50–950 ramp
primary
#2D7D1E
secondary
#A046B0
accent
#43E4CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79