#2D7D1C#2D7D1C
#2D7D1C is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.152 H 140.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7D1C |
|---|---|
| RGB | rgb(45, 125, 28) |
| HSL | hsl(109, 63%, 30%) |
| HSV | hsv(109, 78%, 49%) |
| CMYK | cmyk(64%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(46.05, -42.78, 42.81) |
| CIE-LCH | lch(46.05, 60.52, 134.99°) |
| OKLab | oklab(52.08% -0.1172 0.0963) |
| OKLCH | oklch(52.08% 0.152 140.6) |
| XYZ | xyz(8.6250, 15.3081, 3.5986) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.54
Green
#008000
ΔE00 2.90
Dark Grass Green
#388004
ΔE00 3.14
Darkish Green
#287C37
ΔE00 4.72
Forestgreen (CSS)
#228B22
ΔE00 4.98
Emerald Green
#028F1E
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7D1C #6C1C7D
analogous
#5D7D1C #2D7D1C #1C7D3C
triadic
#2D7D1C #1C2D7D #7D1C2D
tetradic
#2D7D1C #1C5D7D #6C1C7D #7D3C1C
square
#2D7D1C #1C5D7D #6C1C7D #7D3C1C
split-complementary
#2D7D1C #3C1C7D #7D1C5D
monochromatic
#091906 #1B4B11 #2D7D1C #3FAF27 #59D43F
Accessibility & contrast
On white
5.17
#2D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2D7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7D1C
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7D1C | 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)
#807107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#21796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2d7d1c; /* rgb */ color: rgb(45, 125, 28); /* oklch */ color: oklch(52.1% 0.152 140.6);
Tailwind
colors: {
custom: {
50: '#71a360',
500: '#2d7d1c',
950: '#000000',
},
}SCSS
$custom: #2d7d1c; $custom-light: #71a360; $custom-dark: #000000;
JSON
{
"hex": "#2d7d1c",
"rgb": {
"r": 45,
"g": 125,
"b": 28
},
"hsl": {
"h": 109.485,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.52083,
"c": 0.15165,
"h": 140.6
},
"luminance": 0.15309
}Semantic roles & 50–950 ramp
primary
#2D7D1C
secondary
#9E44B1
accent
#41E6CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79