#21841E#21841E
#21841E is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.163 H 142.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #21841E |
|---|---|
| RGB | rgb(33, 132, 30) |
| HSL | hsl(118, 63%, 32%) |
| HSV | hsv(118, 77%, 52%) |
| CMYK | cmyk(75%, 0%, 77.3%, 48.2%) |
| CIE-LAB | lab(48.16, -47.70, 44.06) |
| CIE-LCH | lch(48.16, 64.93, 137.27°) |
| OKLab | oklab(53.74% -0.1296 0.0993) |
| OKLCH | oklch(53.74% 0.163 142.6) |
| XYZ | xyz(9.1123, 16.9186, 4.0134) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.23
Forestgreen (CSS)
#228B22
ΔE00 2.50
Green
#008000
ΔE00 2.61
Dark Grass Green
#388004
ΔE00 3.79
Emerald Green
#028F1E
ΔE00 3.93
Darkish Green
#287C37
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21841E #811E84
analogous
#54841E #21841E #1E844E
triadic
#21841E #1E2184 #841E21
tetradic
#21841E #1E5484 #811E84 #844E1E
square
#21841E #1E5484 #811E84 #844E1E
split-complementary
#21841E #4E1E84 #841E54
monochromatic
#082007 #155213 #21841E #2DB629 #4BD547
Accessibility & contrast
On white
4.79
#21841E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#21841E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21841E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21841E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21841E | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #21841e; /* rgb */ color: rgb(33, 132, 30); /* oklch */ color: oklch(53.7% 0.163 142.6);
Tailwind
colors: {
custom: {
50: '#6ea961',
500: '#21841e',
950: '#000000',
},
}SCSS
$custom: #21841e; $custom-light: #6ea961; $custom-dark: #000000;
JSON
{
"hex": "#21841e",
"rgb": {
"r": 33,
"g": 132,
"b": 30
},
"hsl": {
"h": 118.235,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.53743,
"c": 0.16328,
"h": 142.6
},
"luminance": 0.1692
}Semantic roles & 50–950 ramp
primary
#21841E
secondary
#B447B7
accent
#42E6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A