#21801E#21801E
#21801E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.159 H 142.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #21801E |
|---|---|
| RGB | rgb(33, 128, 30) |
| HSL | hsl(118, 62%, 31%) |
| HSV | hsv(118, 77%, 50%) |
| CMYK | cmyk(74.2%, 0%, 76.6%, 49.8%) |
| CIE-LAB | lab(46.78, -46.32, 42.68) |
| CIE-LCH | lch(46.78, 62.99, 137.34°) |
| OKLab | oklab(52.6% -0.1259 0.0964) |
| OKLCH | oklch(52.6% 0.159 142.6) |
| XYZ | xyz(8.5802, 15.8545, 3.8361) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.23
Green
#008000
ΔE00 2.36
Dark Grass Green
#388004
ΔE00 3.81
Forestgreen (CSS)
#228B22
ΔE00 3.93
Darkish Green
#287C37
ΔE00 4.53
Emerald Green
#028F1E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21801E #7D1E80
analogous
#52801E #21801E #1E804C
triadic
#21801E #1E2180 #801E21
tetradic
#21801E #1E5280 #7D1E80 #804C1E
square
#21801E #1E5280 #7D1E80 #804C1E
split-complementary
#21801E #4C1E80 #801E52
monochromatic
#071D07 #144E12 #21801E #2EB22A #49D345
Accessibility & contrast
On white
5.03
#21801E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#21801E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21801E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21801E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21801E | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#017C6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21801e; /* rgb */ color: rgb(33, 128, 30); /* oklch */ color: oklch(52.6% 0.159 142.6);
Tailwind
colors: {
custom: {
50: '#6da661',
500: '#21801e',
950: '#000000',
},
}SCSS
$custom: #21801e; $custom-light: #6da661; $custom-dark: #000000;
JSON
{
"hex": "#21801e",
"rgb": {
"r": 33,
"g": 128,
"b": 30
},
"hsl": {
"h": 118.163,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.52602,
"c": 0.15857,
"h": 142.6
},
"luminance": 0.15855
}Semantic roles & 50–950 ramp
primary
#21801E
secondary
#B047B3
accent
#43E5E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79