#21852F#21852F
#21852F is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.153 H 145.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #21852F |
|---|---|
| RGB | rgb(33, 133, 47) |
| HSL | hsl(128, 60%, 33%) |
| HSV | hsv(128, 75%, 52%) |
| CMYK | cmyk(75.2%, 0%, 64.7%, 47.8%) |
| CIE-LAB | lab(48.64, -46.35, 37.40) |
| CIE-LCH | lch(48.64, 59.56, 141.10°) |
| OKLab | oklab(54.19% -0.1252 0.0874) |
| OKLCH | oklch(54.19% 0.153 145.1) |
| XYZ | xyz(9.5272, 17.3025, 5.5264) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.18
Tree Green
#2A7E19
ΔE00 3.76
Darkish Green
#287C37
ΔE00 3.91
Emerald Green
#028F1E
ΔE00 4.42
Green
#008000
ΔE00 4.62
Jungle Green
#048243
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21852F #852177
analogous
#458521 #21852F #218561
triadic
#21852F #2F2185 #852F21
tetradic
#21852F #214585 #852177 #856121
square
#21852F #214585 #852177 #856121
split-complementary
#21852F #612185 #852145
monochromatic
#09230C #15541E #21852F #2DB640 #4DD360
Accessibility & contrast
On white
4.71
#21852F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#21852F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21852F
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21852F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21852F | 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)
#877825
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #21852f; /* rgb */ color: rgb(33, 133, 47); /* oklch */ color: oklch(54.2% 0.153 145.1);
Tailwind
colors: {
custom: {
50: '#6da96b',
500: '#21852f',
950: '#000000',
},
}SCSS
$custom: #21852f; $custom-light: #6da96b; $custom-dark: #000000;
JSON
{
"hex": "#21852f",
"rgb": {
"r": 33,
"g": 133,
"b": 47
},
"hsl": {
"h": 128.4,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.54188,
"c": 0.15265,
"h": 145.1
},
"luminance": 0.17304
}Semantic roles & 50–950 ramp
primary
#21852F
secondary
#B64CA7
accent
#44CDE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A