#21824E#21824E
#21824E is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.8% C 0.120 H 154.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #21824E |
|---|---|
| RGB | rgb(33, 130, 78) |
| HSL | hsl(148, 60%, 32%) |
| HSV | hsv(148, 75%, 51%) |
| CMYK | cmyk(74.6%, 0%, 40%, 49%) |
| CIE-LAB | lab(48.05, -40.18, 20.41) |
| CIE-LCH | lch(48.05, 45.07, 153.07°) |
| OKLab | oklab(53.85% -0.1085 0.051) |
| OKLCH | oklch(53.85% 0.12 154.8) |
| XYZ | xyz(9.9841, 16.8375, 9.9300) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.54
Sea Green
#2E8B57
ΔE00 3.48
Dark Sea Green
#11875D
ΔE00 3.70
Darkish Green
#287C37
ΔE00 4.92
Viridian
#1E9167
ΔE00 6.52
Dark Sage
#598556
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21824E #822155
analogous
#258221 #21824E #21827F
triadic
#21824E #4E2182 #824E21
tetradic
#21824E #212582 #822155 #827F21
square
#21824E #212582 #822155 #827F21
split-complementary
#21824E #7F2182 #822125
monochromatic
#082013 #155131 #21824E #2DB36B #4CD28A
Accessibility & contrast
On white
4.81
#21824E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#21824E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21824E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21824E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21824E | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82774A
Deuteranopia (green-blind)
#766F51
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #21824e; /* rgb */ color: rgb(33, 130, 78); /* oklch */ color: oklch(53.8% 0.120 154.8);
Tailwind
colors: {
custom: {
50: '#6ba780',
500: '#21824e',
950: '#000000',
},
}SCSS
$custom: #21824e; $custom-light: #6ba780; $custom-dark: #000000;
JSON
{
"hex": "#21824e",
"rgb": {
"r": 33,
"g": 130,
"b": 78
},
"hsl": {
"h": 147.835,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.53846,
"c": 0.11984,
"h": 154.8
},
"luminance": 0.16839
}Semantic roles & 50–950 ramp
primary
#21824E
secondary
#B44A83
accent
#459AE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C