#2C971F#2C971F
#2C971F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.181 H 141.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2C971F |
|---|---|
| RGB | rgb(44, 151, 31) |
| HSL | hsl(114, 66%, 36%) |
| HSV | hsv(114, 79%, 59%) |
| CMYK | cmyk(70.9%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.83, -52.04, 50.31) |
| CIE-LCH | lch(54.83, 72.39, 135.97°) |
| OKLab | oklab(59.35% -0.1419 0.1124) |
| OKLCH | oklch(59.35% 0.181 141.6) |
| XYZ | xyz(12.3520, 22.7663, 5.0394) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.16
Irish Green
#019529
ΔE00 2.67
Grass Green
#3F9B0B
ΔE00 3.08
Emerald Green
#028F1E
ΔE00 3.56
Grassy Green
#419C03
ΔE00 3.66
Forestgreen (CSS)
#228B22
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C971F #8A1F97
analogous
#68971F #2C971F #1F974E
triadic
#2C971F #1F2C97 #971F2C
tetradic
#2C971F #1F6897 #8A1F97 #974E1F
square
#2C971F #1F6897 #8A1F97 #974E1F
split-complementary
#2C971F #4E1F97 #971F68
monochromatic
#0E310A #1D6415 #2C971F #3BCA29 #63DC54
Accessibility & contrast
On white
3.78
#2C971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#2C971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C971F
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C971F | 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)
#8E802D
Tritanopia (blue-blind)
#119281
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2c971f; /* rgb */ color: rgb(44, 151, 31); /* oklch */ color: oklch(59.4% 0.181 141.6);
Tailwind
colors: {
custom: {
50: '#76b765',
500: '#2c971f',
950: '#000000',
},
}SCSS
$custom: #2c971f; $custom-light: #76b765; $custom-dark: #000000;
JSON
{
"hex": "#2c971f",
"rgb": {
"r": 44,
"g": 151,
"b": 31
},
"hsl": {
"h": 113.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.59354,
"c": 0.18105,
"h": 141.6
},
"luminance": 0.22768
}Semantic roles & 50–950 ramp
primary
#2C971F
secondary
#B452BF
accent
#3FE9D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A