#21852E#21852E
#21852E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.153 H 144.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #21852E |
|---|---|
| RGB | rgb(33, 133, 46) |
| HSL | hsl(128, 60%, 33%) |
| HSV | hsv(128, 75%, 52%) |
| CMYK | cmyk(75.2%, 0%, 65.4%, 47.8%) |
| CIE-LAB | lab(48.63, -46.47, 37.85) |
| CIE-LCH | lch(48.63, 59.94, 140.84°) |
| OKLab | oklab(54.18% -0.1255 0.0882) |
| OKLCH | oklch(54.18% 0.153 144.9) |
| XYZ | xyz(9.5072, 17.2946, 5.4214) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.06
Tree Green
#2A7E19
ΔE00 3.65
Darkish Green
#287C37
ΔE00 4.00
Emerald Green
#028F1E
ΔE00 4.33
Green
#008000
ΔE00 4.48
Kelley Green
#009337
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21852E #852178
analogous
#468521 #21852E #218560
triadic
#21852E #2E2185 #852E21
tetradic
#21852E #214685 #852178 #856021
square
#21852E #214685 #852178 #856021
split-complementary
#21852E #602185 #852146
monochromatic
#09230C #15541D #21852E #2DB63F #4DD35F
Accessibility & contrast
On white
4.71
#21852E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#21852E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21852E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21852E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21852E | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #21852e; /* rgb */ color: rgb(33, 133, 46); /* oklch */ color: oklch(54.2% 0.153 144.9);
Tailwind
colors: {
custom: {
50: '#6da96a',
500: '#21852e',
950: '#000000',
},
}SCSS
$custom: #21852e; $custom-light: #6da96a; $custom-dark: #000000;
JSON
{
"hex": "#21852e",
"rgb": {
"r": 33,
"g": 133,
"b": 46
},
"hsl": {
"h": 127.8,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.54176,
"c": 0.15344,
"h": 144.9
},
"luminance": 0.17296
}Semantic roles & 50–950 ramp
primary
#21852E
secondary
#B64CA8
accent
#44CFE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A