#21882C#21882C
#21882C is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.159 H 144.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #21882C |
|---|---|
| RGB | rgb(33, 136, 44) |
| HSL | hsl(126, 61%, 33%) |
| HSV | hsv(126, 76%, 53%) |
| CMYK | cmyk(75.7%, 0%, 67.6%, 46.7%) |
| CIE-LAB | lab(49.63, -47.76, 39.87) |
| CIE-LCH | lch(49.63, 62.22, 140.14°) |
| OKLab | oklab(55% -0.1291 0.0923) |
| OKLCH | oklch(55% 0.159 144.4) |
| XYZ | xyz(9.8853, 18.1124, 5.3574) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.93
Emerald Green
#028F1E
ΔE00 3.17
Kelley Green
#009337
ΔE00 4.04
Tree Green
#2A7E19
ΔE00 4.11
Green
#008000
ΔE00 4.60
Irish Green
#019529
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21882C #88217D
analogous
#498821 #21882C #21885F
triadic
#21882C #2C2188 #882C21
tetradic
#21882C #214988 #88217D #885F21
square
#21882C #214988 #88217D #885F21
split-complementary
#21882C #5F2188 #882149
monochromatic
#09250C #15571C #21882C #2DB93C #4FD45D
Accessibility & contrast
On white
4.54
#21882C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#21882C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21882C
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21882C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21882C | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #21882c; /* rgb */ color: rgb(33, 136, 44); /* oklch */ color: oklch(55.0% 0.159 144.4);
Tailwind
colors: {
custom: {
50: '#6eac6a',
500: '#21882c',
950: '#000000',
},
}SCSS
$custom: #21882c; $custom-light: #6eac6a; $custom-dark: #000000;
JSON
{
"hex": "#21882c",
"rgb": {
"r": 33,
"g": 136,
"b": 44
},
"hsl": {
"h": 126.408,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.55002,
"c": 0.15872,
"h": 144.4
},
"luminance": 0.18114
}Semantic roles & 50–950 ramp
primary
#21882C
secondary
#B84DAC
accent
#44D3E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A