#21861E#21861E
#21861E is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.166 H 142.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #21861E |
|---|---|
| RGB | rgb(33, 134, 30) |
| HSL | hsl(118, 63%, 32%) |
| HSV | hsv(118, 78%, 53%) |
| CMYK | cmyk(75.4%, 0%, 77.6%, 47.5%) |
| CIE-LAB | lab(48.84, -48.38, 44.74) |
| CIE-LCH | lch(48.84, 65.89, 137.24°) |
| OKLab | oklab(54.31% -0.1315 0.1007) |
| OKLCH | oklch(54.31% 0.166 142.6) |
| XYZ | xyz(9.3861, 17.4662, 4.1047) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.79
Tree Green
#2A7E19
ΔE00 2.88
Green
#008000
ΔE00 3.01
Emerald Green
#028F1E
ΔE00 3.24
Dark Grass Green
#388004
ΔE00 3.98
Irish Green
#019529
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21861E #831E86
analogous
#55861E #21861E #1E864F
triadic
#21861E #1E2186 #861E21
tetradic
#21861E #1E5586 #831E86 #864F1E
square
#21861E #1E5586 #831E86 #864F1E
split-complementary
#21861E #4F1E86 #861E55
monochromatic
#082208 #155413 #21861E #2DB829 #4CD648
Accessibility & contrast
On white
4.67
#21861E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#21861E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21861E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21861E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21861E | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21861e; /* rgb */ color: rgb(33, 134, 30); /* oklch */ color: oklch(54.3% 0.166 142.6);
Tailwind
colors: {
custom: {
50: '#6eaa62',
500: '#21861e',
950: '#000000',
},
}SCSS
$custom: #21861e; $custom-light: #6eaa62; $custom-dark: #000000;
JSON
{
"hex": "#21861e",
"rgb": {
"r": 33,
"g": 134,
"b": 30
},
"hsl": {
"h": 118.269,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.54312,
"c": 0.16561,
"h": 142.6
},
"luminance": 0.17467
}Semantic roles & 50–950 ramp
primary
#21861E
secondary
#B547B8
accent
#41E6E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A