#2C971C#2C971C
#2C971C is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.183 H 141.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2C971C |
|---|---|
| RGB | rgb(44, 151, 28) |
| HSL | hsl(112, 69%, 35%) |
| HSV | hsv(112, 81%, 59%) |
| CMYK | cmyk(70.9%, 0%, 81.5%, 40.8%) |
| CIE-LAB | lab(54.82, -52.23, 51.24) |
| CIE-LCH | lch(54.82, 73.17, 135.55°) |
| OKLab | oklab(59.34% -0.1426 0.1139) |
| OKLCH | oklch(59.34% 0.183 141.4) |
| XYZ | xyz(12.3142, 22.7512, 4.8408) |
| Luminance | 0.2275 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.04
Grass Green
#3F9B0B
ΔE00 2.87
Irish Green
#019529
ΔE00 2.88
Grassy Green
#419C03
ΔE00 3.46
Emerald Green
#028F1E
ΔE00 3.65
Forestgreen (CSS)
#228B22
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C971C #871C97
analogous
#6A971C #2C971C #1C9749
triadic
#2C971C #1C2C97 #971C2C
tetradic
#2C971C #1C6A97 #871C97 #97491C
square
#2C971C #1C6A97 #871C97 #97491C
split-complementary
#2C971C #491C97 #971C6A
monochromatic
#0E3009 #1D6312 #2C971C #3BCB26 #62DE4F
Accessibility & contrast
On white
3.78
#2C971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#2C971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C971C
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C971C | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#119280
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2c971c; /* rgb */ color: rgb(44, 151, 28); /* oklch */ color: oklch(59.3% 0.183 141.4);
Tailwind
colors: {
custom: {
50: '#76b763',
500: '#2c971c',
950: '#000000',
},
}SCSS
$custom: #2c971c; $custom-light: #76b763; $custom-dark: #000000;
JSON
{
"hex": "#2c971c",
"rgb": {
"r": 44,
"g": 151,
"b": 28
},
"hsl": {
"h": 112.195,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.59336,
"c": 0.18251,
"h": 141.4
},
"luminance": 0.22753
}Semantic roles & 50–950 ramp
primary
#2C971C
secondary
#B24EC1
accent
#3CECD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A