#21851E#21851E
#21851E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.164 H 142.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #21851E |
|---|---|
| RGB | rgb(33, 133, 30) |
| HSL | hsl(118, 63%, 32%) |
| HSV | hsv(118, 77%, 52%) |
| CMYK | cmyk(75.2%, 0%, 77.4%, 47.8%) |
| CIE-LAB | lab(48.50, -48.04, 44.40) |
| CIE-LCH | lch(48.50, 65.41, 137.26°) |
| OKLab | oklab(54.03% -0.1306 0.1) |
| OKLCH | oklch(54.03% 0.164 142.6) |
| XYZ | xyz(9.2485, 17.1911, 4.0588) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.14
Tree Green
#2A7E19
ΔE00 2.55
Green
#008000
ΔE00 2.80
Emerald Green
#028F1E
ΔE00 3.58
Dark Grass Green
#388004
ΔE00 3.87
Darkish Green
#287C37
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21851E #821E85
analogous
#55851E #21851E #1E854E
triadic
#21851E #1E2185 #851E21
tetradic
#21851E #1E5585 #821E85 #854E1E
square
#21851E #1E5585 #821E85 #854E1E
split-complementary
#21851E #4E1E85 #851E55
monochromatic
#082107 #155313 #21851E #2DB729 #4CD648
Accessibility & contrast
On white
4.73
#21851E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#21851E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21851E
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21851E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21851E | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #21851e; /* rgb */ color: rgb(33, 133, 30); /* oklch */ color: oklch(54.0% 0.164 142.6);
Tailwind
colors: {
custom: {
50: '#6eaa62',
500: '#21851e',
950: '#000000',
},
}SCSS
$custom: #21851e; $custom-light: #6eaa62; $custom-dark: #000000;
JSON
{
"hex": "#21851e",
"rgb": {
"r": 33,
"g": 133,
"b": 30
},
"hsl": {
"h": 118.252,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.54028,
"c": 0.16445,
"h": 142.6
},
"luminance": 0.17192
}Semantic roles & 50–950 ramp
primary
#21851E
secondary
#B447B8
accent
#42E6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A