#21862F#21862F
#21862F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.154 H 145.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #21862F |
|---|---|
| RGB | rgb(33, 134, 47) |
| HSL | hsl(128, 60%, 33%) |
| HSV | hsv(128, 75%, 53%) |
| CMYK | cmyk(75.4%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(48.98, -46.71, 37.78) |
| CIE-LCH | lch(48.98, 60.08, 141.03°) |
| OKLab | oklab(54.47% -0.1261 0.0882) |
| OKLCH | oklch(54.47% 0.154 145) |
| XYZ | xyz(9.6647, 17.5777, 5.5723) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.87
Tree Green
#2A7E19
ΔE00 3.94
Emerald Green
#028F1E
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.25
Kelley Green
#009337
ΔE00 4.61
Green
#008000
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21862F #862178
analogous
#458621 #21862F #218661
triadic
#21862F #2F2186 #862F21
tetradic
#21862F #214586 #862178 #866121
square
#21862F #214586 #862178 #866121
split-complementary
#21862F #612186 #862145
monochromatic
#09240D #15551E #21862F #2DB740 #4ED360
Accessibility & contrast
On white
4.65
#21862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#21862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21862F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21862F | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21862f; /* rgb */ color: rgb(33, 134, 47); /* oklch */ color: oklch(54.5% 0.154 145.0);
Tailwind
colors: {
custom: {
50: '#6daa6b',
500: '#21862f',
950: '#000000',
},
}SCSS
$custom: #21862f; $custom-light: #6daa6b; $custom-dark: #000000;
JSON
{
"hex": "#21862f",
"rgb": {
"r": 33,
"g": 134,
"b": 47
},
"hsl": {
"h": 128.317,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.5447,
"c": 0.15391,
"h": 145
},
"luminance": 0.17579
}Semantic roles & 50–950 ramp
primary
#21862F
secondary
#B74CA8
accent
#44CEE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A