#21822C#21822C
#21822C is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.151 H 144.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21822C |
|---|---|
| RGB | rgb(33, 130, 44) |
| HSL | hsl(127, 60%, 32%) |
| HSV | hsv(127, 75%, 51%) |
| CMYK | cmyk(74.6%, 0%, 66.2%, 49%) |
| CIE-LAB | lab(47.58, -45.64, 37.61) |
| CIE-LCH | lch(47.58, 59.14, 140.51°) |
| OKLab | oklab(53.3% -0.1234 0.0875) |
| OKLCH | oklch(53.3% 0.151 144.6) |
| XYZ | xyz(9.0638, 16.4694, 5.0836) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.01
Darkish Green
#287C37
ΔE00 3.26
Forestgreen (CSS)
#228B22
ΔE00 3.86
Green
#008000
ΔE00 4.11
Jungle Green
#048243
ΔE00 4.89
Emerald Green
#028F1E
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21822C #822177
analogous
#478221 #21822C #21825D
triadic
#21822C #2C2182 #822C21
tetradic
#21822C #214782 #822177 #825D21
square
#21822C #214782 #822177 #825D21
split-complementary
#21822C #5D2182 #822147
monochromatic
#08200B #15511B #21822C #2DB33D #4CD25B
Accessibility & contrast
On white
4.89
#21822C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#21822C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21822C
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21822C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21822C | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847622
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #21822c; /* rgb */ color: rgb(33, 130, 44); /* oklch */ color: oklch(53.3% 0.151 144.6);
Tailwind
colors: {
custom: {
50: '#6ca769',
500: '#21822c',
950: '#000000',
},
}SCSS
$custom: #21822c; $custom-light: #6ca769; $custom-dark: #000000;
JSON
{
"hex": "#21822c",
"rgb": {
"r": 33,
"g": 130,
"b": 44
},
"hsl": {
"h": 126.804,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.53304,
"c": 0.15125,
"h": 144.6
},
"luminance": 0.1647
}Semantic roles & 50–950 ramp
primary
#21822C
secondary
#B44AA8
accent
#45D1E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A