#21862E#21862E
#21862E is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.155 H 144.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #21862E |
|---|---|
| RGB | rgb(33, 134, 46) |
| HSL | hsl(128, 60%, 33%) |
| HSV | hsv(128, 75%, 53%) |
| CMYK | cmyk(75.4%, 0%, 65.7%, 47.5%) |
| CIE-LAB | lab(48.97, -46.83, 38.23) |
| CIE-LCH | lch(48.97, 60.45, 140.77°) |
| OKLab | oklab(54.46% -0.1265 0.089) |
| OKLCH | oklch(54.46% 0.155 144.9) |
| XYZ | xyz(9.6448, 17.5697, 5.4672) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.75
Tree Green
#2A7E19
ΔE00 3.83
Emerald Green
#028F1E
ΔE00 4.00
Darkish Green
#287C37
ΔE00 4.34
Green
#008000
ΔE00 4.57
Kelley Green
#009337
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21862E #862179
analogous
#468621 #21862E #218661
triadic
#21862E #2E2186 #862E21
tetradic
#21862E #214686 #862179 #866121
square
#21862E #214686 #862179 #866121
split-complementary
#21862E #612186 #862146
monochromatic
#09240C #15551D #21862E #2DB73F #4ED35F
Accessibility & contrast
On white
4.65
#21862E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#21862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21862E
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21862E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21862E | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887923
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21862e; /* rgb */ color: rgb(33, 134, 46); /* oklch */ color: oklch(54.5% 0.155 144.9);
Tailwind
colors: {
custom: {
50: '#6daa6b',
500: '#21862e',
950: '#000000',
},
}SCSS
$custom: #21862e; $custom-light: #6daa6b; $custom-dark: #000000;
JSON
{
"hex": "#21862e",
"rgb": {
"r": 33,
"g": 134,
"b": 46
},
"hsl": {
"h": 127.723,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.54459,
"c": 0.15469,
"h": 144.9
},
"luminance": 0.17571
}Semantic roles & 50–950 ramp
primary
#21862E
secondary
#B74CA9
accent
#44CFE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A