#21882E#21882E
#21882E is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.157 H 144.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #21882E |
|---|---|
| RGB | rgb(33, 136, 46) |
| HSL | hsl(128, 61%, 33%) |
| HSV | hsv(128, 76%, 53%) |
| CMYK | cmyk(75.7%, 0%, 66.2%, 46.7%) |
| CIE-LAB | lab(49.65, -47.54, 38.99) |
| CIE-LCH | lch(49.65, 61.48, 140.64°) |
| OKLab | oklab(55.02% -0.1284 0.0907) |
| OKLCH | oklch(55.02% 0.157 144.8) |
| XYZ | xyz(9.9238, 18.1278, 5.5602) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.19
Emerald Green
#028F1E
ΔE00 3.36
Kelley Green
#009337
ΔE00 3.97
Tree Green
#2A7E19
ΔE00 4.27
Irish Green
#019529
ΔE00 4.72
Green
#008000
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21882E #88217B
analogous
#478821 #21882E #218861
triadic
#21882E #2E2188 #882E21
tetradic
#21882E #214788 #88217B #886121
square
#21882E #214788 #88217B #886121
split-complementary
#21882E #612188 #882147
monochromatic
#09250D #15571D #21882E #2DB93F #4FD460
Accessibility & contrast
On white
4.54
#21882E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#21882E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21882E
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21882E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21882E | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #21882e; /* rgb */ color: rgb(33, 136, 46); /* oklch */ color: oklch(55.0% 0.157 144.8);
Tailwind
colors: {
custom: {
50: '#6eac6b',
500: '#21882e',
950: '#000000',
},
}SCSS
$custom: #21882e; $custom-light: #6eac6b; $custom-dark: #000000;
JSON
{
"hex": "#21882e",
"rgb": {
"r": 33,
"g": 136,
"b": 46
},
"hsl": {
"h": 127.573,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.55024,
"c": 0.15719,
"h": 144.8
},
"luminance": 0.18129
}Semantic roles & 50–950 ramp
primary
#21882E
secondary
#B84DAA
accent
#44D0E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A