#21802C#21802C
#21802C is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.149 H 144.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #21802C |
|---|---|
| RGB | rgb(33, 128, 44) |
| HSL | hsl(127, 59%, 32%) |
| HSV | hsv(127, 74%, 50%) |
| CMYK | cmyk(74.2%, 0%, 65.6%, 49.8%) |
| CIE-LAB | lab(46.90, -44.92, 36.85) |
| CIE-LCH | lch(46.90, 58.10, 140.64°) |
| OKLab | oklab(52.74% -0.1214 0.0859) |
| OKLCH | oklch(52.74% 0.149 144.7) |
| XYZ | xyz(8.8004, 15.9425, 4.9958) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.71
Tree Green
#2A7E19
ΔE00 2.94
Green
#008000
ΔE00 4.21
Forestgreen (CSS)
#228B22
ΔE00 4.56
Jungle Green
#048243
ΔE00 4.75
Dark Grass Green
#388004
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21802C #802175
analogous
#468021 #21802C #21805C
triadic
#21802C #2C2180 #802C21
tetradic
#21802C #214680 #802175 #805C21
square
#21802C #214680 #802175 #805C21
split-complementary
#21802C #5C2180 #802146
monochromatic
#081F0B #144F1B #21802C #2EB13D #4BD15A
Accessibility & contrast
On white
5.01
#21802C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#21802C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21802C
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21802C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21802C | 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)
#827422
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #21802c; /* rgb */ color: rgb(33, 128, 44); /* oklch */ color: oklch(52.7% 0.149 144.7);
Tailwind
colors: {
custom: {
50: '#6ca669',
500: '#21802c',
950: '#000000',
},
}SCSS
$custom: #21802c; $custom-light: #6ca669; $custom-dark: #000000;
JSON
{
"hex": "#21802c",
"rgb": {
"r": 33,
"g": 128,
"b": 44
},
"hsl": {
"h": 126.947,
"s": 59.006,
"l": 31.569
},
"oklch": {
"l": 0.52736,
"c": 0.14871,
"h": 144.7
},
"luminance": 0.15944
}Semantic roles & 50–950 ramp
primary
#21802C
secondary
#B34AA7
accent
#46D0E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A