#21822E#21822E
#21822E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.150 H 145.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #21822E |
|---|---|
| RGB | rgb(33, 130, 46) |
| HSL | hsl(128, 60%, 32%) |
| HSV | hsv(128, 75%, 51%) |
| CMYK | cmyk(74.6%, 0%, 64.6%, 49%) |
| CIE-LAB | lab(47.60, -45.40, 36.70) |
| CIE-LCH | lch(47.60, 58.38, 141.05°) |
| OKLab | oklab(53.33% -0.1226 0.0858) |
| OKLCH | oklch(53.33% 0.15 145) |
| XYZ | xyz(9.1024, 16.4848, 5.2864) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.03
Tree Green
#2A7E19
ΔE00 3.29
Forestgreen (CSS)
#228B22
ΔE00 4.05
Green
#008000
ΔE00 4.41
Jungle Green
#048243
ΔE00 4.58
Emerald Green
#028F1E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21822E #822175
analogous
#458221 #21822E #21825F
triadic
#21822E #2E2182 #822E21
tetradic
#21822E #214582 #822175 #825F21
square
#21822E #214582 #822175 #825F21
split-complementary
#21822E #5F2182 #822145
monochromatic
#08200B #15511D #21822E #2DB33F #4CD25E
Accessibility & contrast
On white
4.89
#21822E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#21822E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21822E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21822E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21822E | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847624
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #21822e; /* rgb */ color: rgb(33, 130, 46); /* oklch */ color: oklch(53.3% 0.150 145.0);
Tailwind
colors: {
custom: {
50: '#6ca76a',
500: '#21822e',
950: '#000000',
},
}SCSS
$custom: #21822e; $custom-light: #6ca76a; $custom-dark: #000000;
JSON
{
"hex": "#21822e",
"rgb": {
"r": 33,
"g": 130,
"b": 46
},
"hsl": {
"h": 128.041,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.53327,
"c": 0.14965,
"h": 145
},
"luminance": 0.16486
}Semantic roles & 50–950 ramp
primary
#21822E
secondary
#B44AA6
accent
#45CEE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A