#21882F#21882F
#21882F is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.156 H 145.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #21882F |
|---|---|
| RGB | rgb(33, 136, 47) |
| HSL | hsl(128, 61%, 33%) |
| HSV | hsv(128, 76%, 53%) |
| CMYK | cmyk(75.7%, 0%, 65.4%, 46.7%) |
| CIE-LAB | lab(49.66, -47.42, 38.54) |
| CIE-LCH | lch(49.66, 61.11, 140.90°) |
| OKLab | oklab(55.04% -0.1281 0.0898) |
| OKLCH | oklch(55.04% 0.156 145) |
| XYZ | xyz(9.9438, 18.1358, 5.6653) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.33
Emerald Green
#028F1E
ΔE00 3.46
Kelley Green
#009337
ΔE00 3.94
Tree Green
#2A7E19
ΔE00 4.36
Irish Green
#019529
ΔE00 4.77
Green
#008000
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21882F #88217A
analogous
#468821 #21882F #218862
triadic
#21882F #2F2188 #882F21
tetradic
#21882F #214688 #88217A #886221
square
#21882F #214688 #88217A #886221
split-complementary
#21882F #622188 #882146
monochromatic
#09250D #15571E #21882F #2DB940 #4FD461
Accessibility & contrast
On white
4.54
#21882F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#21882F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21882F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21882F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21882F | 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)
#8A7B24
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #21882f; /* rgb */ color: rgb(33, 136, 47); /* oklch */ color: oklch(55.0% 0.156 145.0);
Tailwind
colors: {
custom: {
50: '#6eac6b',
500: '#21882f',
950: '#000000',
},
}SCSS
$custom: #21882f; $custom-light: #6eac6b; $custom-dark: #000000;
JSON
{
"hex": "#21882f",
"rgb": {
"r": 33,
"g": 136,
"b": 47
},
"hsl": {
"h": 128.155,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.55035,
"c": 0.15641,
"h": 145
},
"luminance": 0.18137
}Semantic roles & 50–950 ramp
primary
#21882F
secondary
#B84DA9
accent
#44CEE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A