#21802E#21802E
#21802E is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.147 H 145.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #21802E |
|---|---|
| RGB | rgb(33, 128, 46) |
| HSL | hsl(128, 59%, 32%) |
| HSV | hsv(128, 74%, 50%) |
| CMYK | cmyk(74.2%, 0%, 64.1%, 49.8%) |
| CIE-LAB | lab(46.92, -44.67, 35.93) |
| CIE-LCH | lch(46.92, 57.33, 141.20°) |
| OKLab | oklab(52.76% -0.1207 0.0841) |
| OKLCH | oklch(52.76% 0.147 145.1) |
| XYZ | xyz(8.8389, 15.9579, 5.1986) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.44
Tree Green
#2A7E19
ΔE00 3.26
Jungle Green
#048243
ΔE00 4.43
Green
#008000
ΔE00 4.53
Forestgreen (CSS)
#228B22
ΔE00 4.74
Dark Grass Green
#388004
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21802E #802173
analogous
#448021 #21802E #21805E
triadic
#21802E #2E2180 #802E21
tetradic
#21802E #214480 #802173 #805E21
square
#21802E #214480 #802173 #805E21
split-complementary
#21802E #5E2180 #802144
monochromatic
#081F0B #144F1D #21802E #2EB13F #4BD15D
Accessibility & contrast
On white
5.01
#21802E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#21802E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21802E
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21802E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21802E | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21802e; /* rgb */ color: rgb(33, 128, 46); /* oklch */ color: oklch(52.8% 0.147 145.1);
Tailwind
colors: {
custom: {
50: '#6ca66a',
500: '#21802e',
950: '#000000',
},
}SCSS
$custom: #21802e; $custom-light: #6ca66a; $custom-dark: #000000;
JSON
{
"hex": "#21802e",
"rgb": {
"r": 33,
"g": 128,
"b": 46
},
"hsl": {
"h": 128.211,
"s": 59.006,
"l": 31.569
},
"oklch": {
"l": 0.52759,
"c": 0.14709,
"h": 145.1
},
"luminance": 0.15959
}Semantic roles & 50–950 ramp
primary
#21802E
secondary
#B34AA4
accent
#46CDE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A