#21862C#21862C
#21862C is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.156 H 144.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21862C |
|---|---|
| RGB | rgb(33, 134, 44) |
| HSL | hsl(127, 60%, 33%) |
| HSV | hsv(127, 75%, 53%) |
| CMYK | cmyk(75.4%, 0%, 67.2%, 47.5%) |
| CIE-LAB | lab(48.95, -47.06, 39.12) |
| CIE-LCH | lch(48.95, 61.20, 140.26°) |
| OKLab | oklab(54.44% -0.1272 0.0907) |
| OKLCH | oklch(54.44% 0.156 144.5) |
| XYZ | xyz(9.6063, 17.5543, 5.2644) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.52
Tree Green
#2A7E19
ΔE00 3.63
Emerald Green
#028F1E
ΔE00 3.82
Green
#008000
ΔE00 4.31
Darkish Green
#287C37
ΔE00 4.53
Kelley Green
#009337
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21862C #86217B
analogous
#488621 #21862C #21865F
triadic
#21862C #2C2186 #862C21
tetradic
#21862C #214886 #86217B #865F21
square
#21862C #214886 #86217B #865F21
split-complementary
#21862C #5F2186 #862148
monochromatic
#09240C #15551C #21862C #2DB73C #4ED35D
Accessibility & contrast
On white
4.66
#21862C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#21862C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #21862C
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21862C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21862C | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21862c; /* rgb */ color: rgb(33, 134, 44); /* oklch */ color: oklch(54.4% 0.156 144.5);
Tailwind
colors: {
custom: {
50: '#6daa69',
500: '#21862c',
950: '#000000',
},
}SCSS
$custom: #21862c; $custom-light: #6daa69; $custom-dark: #000000;
JSON
{
"hex": "#21862c",
"rgb": {
"r": 33,
"g": 134,
"b": 44
},
"hsl": {
"h": 126.535,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.54437,
"c": 0.15625,
"h": 144.5
},
"luminance": 0.17555
}Semantic roles & 50–950 ramp
primary
#21862C
secondary
#B74CAB
accent
#44D2E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A