#2D7E1E#2D7E1E
#2D7E1E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.152 H 140.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7E1E |
|---|---|
| RGB | rgb(45, 126, 30) |
| HSL | hsl(111, 62%, 31%) |
| HSV | hsv(111, 76%, 49%) |
| CMYK | cmyk(64.3%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(46.41, -43.00, 42.41) |
| CIE-LCH | lch(46.41, 60.40, 135.40°) |
| OKLab | oklab(52.38% -0.1177 0.0957) |
| OKLCH | oklch(52.38% 0.152 140.9) |
| XYZ | xyz(8.7770, 15.5725, 3.7713) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.56
Green
#008000
ΔE00 2.90
Dark Grass Green
#388004
ΔE00 3.20
Darkish Green
#287C37
ΔE00 4.58
Forestgreen (CSS)
#228B22
ΔE00 4.63
Emerald Green
#028F1E
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7E1E #6F1E7E
analogous
#5D7E1E #2D7E1E #1E7E3F
triadic
#2D7E1E #1E2D7E #7E1E2D
tetradic
#2D7E1E #1E5D7E #6F1E7E #7E3F1E
square
#2D7E1E #1E5D7E #6F1E7E #7E3F1E
split-complementary
#2D7E1E #3F1E7E #7E1E5D
monochromatic
#0A1B06 #1B4D12 #2D7E1E #3FAF2A #5AD244
Accessibility & contrast
On white
5.10
#2D7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2D7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7E1E
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7E1E | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#786B28
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2d7e1e; /* rgb */ color: rgb(45, 126, 30); /* oklch */ color: oklch(52.4% 0.152 140.9);
Tailwind
colors: {
custom: {
50: '#71a461',
500: '#2d7e1e',
950: '#000000',
},
}SCSS
$custom: #2d7e1e; $custom-light: #71a461; $custom-dark: #000000;
JSON
{
"hex": "#2d7e1e",
"rgb": {
"r": 45,
"g": 126,
"b": 30
},
"hsl": {
"h": 110.625,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.52381,
"c": 0.15168,
"h": 140.9
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#2D7E1E
secondary
#A147B1
accent
#43E5CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79