#21802F#21802F
#21802F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.146 H 145.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #21802F |
|---|---|
| RGB | rgb(33, 128, 47) |
| HSL | hsl(129, 59%, 32%) |
| HSV | hsv(129, 74%, 50%) |
| CMYK | cmyk(74.2%, 0%, 63.3%, 49.8%) |
| CIE-LAB | lab(46.93, -44.55, 35.46) |
| CIE-LCH | lch(46.93, 56.94, 141.48°) |
| OKLab | oklab(52.77% -0.1203 0.0832) |
| OKLCH | oklch(52.77% 0.146 145.3) |
| XYZ | xyz(8.8589, 15.9659, 5.3036) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.30
Tree Green
#2A7E19
ΔE00 3.42
Jungle Green
#048243
ΔE00 4.27
Green
#008000
ΔE00 4.69
Forestgreen (CSS)
#228B22
ΔE00 4.84
Dark Grass Green
#388004
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21802F #802172
analogous
#438021 #21802F #21805F
triadic
#21802F #2F2180 #802F21
tetradic
#21802F #214380 #802172 #805F21
square
#21802F #214380 #802172 #805F21
split-complementary
#21802F #5F2180 #802143
monochromatic
#081F0B #144F1D #21802F #2EB141 #4BD15F
Accessibility & contrast
On white
5.01
#21802F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#21802F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21802F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21802F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21802F | 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)
#827426
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21802f; /* rgb */ color: rgb(33, 128, 47); /* oklch */ color: oklch(52.8% 0.146 145.3);
Tailwind
colors: {
custom: {
50: '#6ca66b',
500: '#21802f',
950: '#000000',
},
}SCSS
$custom: #21802f; $custom-light: #6ca66b; $custom-dark: #000000;
JSON
{
"hex": "#21802f",
"rgb": {
"r": 33,
"g": 128,
"b": 47
},
"hsl": {
"h": 128.842,
"s": 59.006,
"l": 31.569
},
"oklch": {
"l": 0.52771,
"c": 0.14626,
"h": 145.3
},
"luminance": 0.15967
}Semantic roles & 50–950 ramp
primary
#21802F
secondary
#B34AA3
accent
#46CBE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A