#2D7E1A#2D7E1A
#2D7E1A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.154 H 140.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7E1A |
|---|---|
| RGB | rgb(45, 126, 26) |
| HSL | hsl(109, 66%, 30%) |
| HSV | hsv(109, 79%, 49%) |
| CMYK | cmyk(64.3%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(46.38, -43.30, 43.85) |
| CIE-LCH | lch(46.38, 61.63, 134.64°) |
| OKLab | oklab(52.35% -0.1187 0.0982) |
| OKLCH | oklch(52.35% 0.154 140.4) |
| XYZ | xyz(8.7291, 15.5533, 3.5192) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.28
Green
#008000
ΔE00 2.65
Dark Grass Green
#388004
ΔE00 2.77
Forestgreen (CSS)
#228B22
ΔE00 4.66
Darkish Green
#287C37
ΔE00 5.06
Emerald Green
#028F1E
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7E1A #6B1A7E
analogous
#5F7E1A #2D7E1A #1A7E39
triadic
#2D7E1A #1A2D7E #7E1A2D
tetradic
#2D7E1A #1A5F7E #6B1A7E #7E391A
square
#2D7E1A #1A5F7E #6B1A7E #7E391A
split-complementary
#2D7E1A #391A7E #7E1A5F
monochromatic
#091905 #1B4B10 #2D7E1A #3FB124 #59D73C
Accessibility & contrast
On white
5.11
#2D7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2D7E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7E1A
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7E1A | 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)
#827202
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2d7e1a; /* rgb */ color: rgb(45, 126, 26); /* oklch */ color: oklch(52.4% 0.154 140.4);
Tailwind
colors: {
custom: {
50: '#71a45f',
500: '#2d7e1a',
950: '#000000',
},
}SCSS
$custom: #2d7e1a; $custom-light: #71a45f; $custom-dark: #000000;
JSON
{
"hex": "#2d7e1a",
"rgb": {
"r": 45,
"g": 126,
"b": 26
},
"hsl": {
"h": 108.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.52351,
"c": 0.15403,
"h": 140.4
},
"luminance": 0.15554
}Semantic roles & 50–950 ramp
primary
#2D7E1A
secondary
#9D42B2
accent
#3FE9C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79