#21801C#21801C
#21801C is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.160 H 142.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21801C |
|---|---|
| RGB | rgb(33, 128, 28) |
| HSL | hsl(117, 64%, 31%) |
| HSV | hsv(117, 78%, 50%) |
| CMYK | cmyk(74.2%, 0%, 78.1%, 49.8%) |
| CIE-LAB | lab(46.77, -46.48, 43.41) |
| CIE-LCH | lch(46.77, 63.60, 136.96°) |
| OKLab | oklab(52.59% -0.1264 0.0976) |
| OKLCH | oklch(52.59% 0.16 142.3) |
| XYZ | xyz(8.5555, 15.8446, 3.7058) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.10
Green
#008000
ΔE00 2.16
Dark Grass Green
#388004
ΔE00 3.61
Forestgreen (CSS)
#228B22
ΔE00 3.92
Darkish Green
#287C37
ΔE00 4.75
Emerald Green
#028F1E
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21801C #7B1C80
analogous
#53801C #21801C #1C8049
triadic
#21801C #1C2180 #801C21
tetradic
#21801C #1C5380 #7B1C80 #80491C
square
#21801C #1C5380 #7B1C80 #80491C
split-complementary
#21801C #491C80 #801C53
monochromatic
#071C06 #144E11 #21801C #2EB227 #48D541
Accessibility & contrast
On white
5.04
#21801C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#21801C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21801C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21801C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21801C | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#017C6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21801c; /* rgb */ color: rgb(33, 128, 28); /* oklch */ color: oklch(52.6% 0.160 142.3);
Tailwind
colors: {
custom: {
50: '#6da660',
500: '#21801c',
950: '#000000',
},
}SCSS
$custom: #21801c; $custom-light: #6da660; $custom-dark: #000000;
JSON
{
"hex": "#21801c",
"rgb": {
"r": 33,
"g": 128,
"b": 28
},
"hsl": {
"h": 117,
"s": 64.103,
"l": 30.588
},
"oklch": {
"l": 0.52587,
"c": 0.15974,
"h": 142.3
},
"luminance": 0.15846
}Semantic roles & 50–950 ramp
primary
#21801C
secondary
#AE44B3
accent
#41E7DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79