#2D971C#2D971C
#2D971C is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.182 H 141.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2D971C |
|---|---|
| RGB | rgb(45, 151, 28) |
| HSL | hsl(112, 69%, 35%) |
| HSV | hsv(112, 81%, 59%) |
| CMYK | cmyk(70.2%, 0%, 81.5%, 40.8%) |
| CIE-LAB | lab(54.84, -52.04, 51.27) |
| CIE-LCH | lch(54.84, 73.05, 135.42°) |
| OKLab | oklab(59.36% -0.1421 0.114) |
| OKLCH | oklch(59.36% 0.182 141.3) |
| XYZ | xyz(12.3577, 22.7736, 4.8429) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.08
Grass Green
#3F9B0B
ΔE00 2.82
Irish Green
#019529
ΔE00 2.94
Grassy Green
#419C03
ΔE00 3.40
Emerald Green
#028F1E
ΔE00 3.70
Forestgreen (CSS)
#228B22
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D971C #861C97
analogous
#6B971C #2D971C #1C9748
triadic
#2D971C #1C2D97 #971C2D
tetradic
#2D971C #1C6B97 #861C97 #97481C
square
#2D971C #1C6B97 #861C97 #97481C
split-complementary
#2D971C #481C97 #971C6B
monochromatic
#0E3009 #1E6312 #2D971C #3CCB26 #63DE4F
Accessibility & contrast
On white
3.78
#2D971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#2D971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D971C
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D971C | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#149280
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2d971c; /* rgb */ color: rgb(45, 151, 28); /* oklch */ color: oklch(59.4% 0.182 141.3);
Tailwind
colors: {
custom: {
50: '#77b763',
500: '#2d971c',
950: '#000000',
},
}SCSS
$custom: #2d971c; $custom-light: #77b763; $custom-dark: #000000;
JSON
{
"hex": "#2d971c",
"rgb": {
"r": 45,
"g": 151,
"b": 28
},
"hsl": {
"h": 111.707,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.59362,
"c": 0.18217,
"h": 141.3
},
"luminance": 0.22775
}Semantic roles & 50–950 ramp
primary
#2D971C
secondary
#B14EC1
accent
#3CECD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A