#21971C#21971C
#21971C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.186 H 142.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #21971C |
|---|---|
| RGB | rgb(33, 151, 28) |
| HSL | hsl(118, 69%, 35%) |
| HSV | hsv(118, 81%, 59%) |
| CMYK | cmyk(78.1%, 0%, 81.5%, 40.8%) |
| CIE-LAB | lab(54.59, -54.13, 50.96) |
| CIE-LCH | lch(54.59, 74.34, 136.73°) |
| OKLab | oklab(59.09% -0.1472 0.1134) |
| OKLCH | oklch(59.09% 0.186 142.4) |
| XYZ | xyz(11.9027, 22.5390, 4.8215) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.73
Irish Green
#019529
ΔE00 2.31
Emerald Green
#028F1E
ΔE00 3.23
Grass Green
#3F9B0B
ΔE00 3.46
Grassy Green
#419C03
ΔE00 4.02
Forestgreen (CSS)
#228B22
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21971C #921C97
analogous
#5E971C #21971C #1C9754
triadic
#21971C #1C2197 #971C21
tetradic
#21971C #1C5E97 #921C97 #97541C
square
#21971C #1C5E97 #921C97 #97541C
split-complementary
#21971C #541C97 #971C5E
monochromatic
#0A3009 #166312 #21971C #2CCB26 #55DE4F
Accessibility & contrast
On white
3.81
#21971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#21971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21971C
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21971C | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #21971c; /* rgb */ color: rgb(33, 151, 28); /* oklch */ color: oklch(59.1% 0.186 142.4);
Tailwind
colors: {
custom: {
50: '#72b763',
500: '#21971c',
950: '#000000',
},
}SCSS
$custom: #21971c; $custom-light: #72b763; $custom-dark: #000000;
JSON
{
"hex": "#21971c",
"rgb": {
"r": 33,
"g": 151,
"b": 28
},
"hsl": {
"h": 117.561,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.59089,
"c": 0.18577,
"h": 142.4
},
"luminance": 0.2254
}Semantic roles & 50–950 ramp
primary
#21971C
secondary
#BC4EC1
accent
#3CECE4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A