#2D7D1A#2D7D1A
#2D7D1A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.153 H 140.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7D1A |
|---|---|
| RGB | rgb(45, 125, 26) |
| HSL | hsl(108, 66%, 30%) |
| HSV | hsv(108, 79%, 49%) |
| CMYK | cmyk(64%, 0%, 79.2%, 51%) |
| CIE-LAB | lab(46.04, -42.93, 43.52) |
| CIE-LCH | lch(46.04, 61.13, 134.61°) |
| OKLab | oklab(52.07% -0.1177 0.0975) |
| OKLCH | oklch(52.07% 0.153 140.4) |
| XYZ | xyz(8.6019, 15.2989, 3.4768) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.45
Green
#008000
ΔE00 2.78
Dark Grass Green
#388004
ΔE00 2.93
Darkish Green
#287C37
ΔE00 4.96
Forestgreen (CSS)
#228B22
ΔE00 5.00
Emerald Green
#028F1E
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7D1A #6A1A7D
analogous
#5F7D1A #2D7D1A #1A7D39
triadic
#2D7D1A #1A2D7D #7D1A2D
tetradic
#2D7D1A #1A5F7D #6A1A7D #7D391A
square
#2D7D1A #1A5F7D #6A1A7D #7D391A
split-complementary
#2D7D1A #391A7D #7D1A5F
monochromatic
#091905 #1B4A0F #2D7D1A #3FB025 #59D63B
Accessibility & contrast
On white
5.17
#2D7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2D7D1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7D1A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7D1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7D1A | 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)
#817103
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#21796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2d7d1a; /* rgb */ color: rgb(45, 125, 26); /* oklch */ color: oklch(52.1% 0.153 140.4);
Tailwind
colors: {
custom: {
50: '#71a35f',
500: '#2d7d1a',
950: '#000000',
},
}SCSS
$custom: #2d7d1a; $custom-light: #71a35f; $custom-dark: #000000;
JSON
{
"hex": "#2d7d1a",
"rgb": {
"r": 45,
"g": 125,
"b": 26
},
"hsl": {
"h": 108.485,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.52068,
"c": 0.15281,
"h": 140.4
},
"luminance": 0.153
}Semantic roles & 50–950 ramp
primary
#2D7D1A
secondary
#9C42B1
accent
#3FE9C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79