#21861B#21861B
#21861B is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.167 H 142.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #21861B |
|---|---|
| RGB | rgb(33, 134, 27) |
| HSL | hsl(117, 66%, 32%) |
| HSV | hsv(117, 80%, 53%) |
| CMYK | cmyk(75.4%, 0%, 79.9%, 47.5%) |
| CIE-LAB | lab(48.82, -48.60, 45.77) |
| CIE-LCH | lch(48.82, 66.76, 136.72°) |
| OKLab | oklab(54.29% -0.1322 0.1024) |
| OKLCH | oklch(54.29% 0.167 142.2) |
| XYZ | xyz(9.3496, 17.4516, 3.9125) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.84
Green
#008000
ΔE00 2.86
Tree Green
#2A7E19
ΔE00 2.86
Emerald Green
#028F1E
ΔE00 3.24
Dark Grass Green
#388004
ΔE00 3.76
True Green
#089404
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21861B #801B86
analogous
#57861B #21861B #1B864B
triadic
#21861B #1B2186 #861B21
tetradic
#21861B #1B5786 #801B86 #864B1B
square
#21861B #1B5786 #801B86 #864B1B
split-complementary
#21861B #4B1B86 #861B57
monochromatic
#082006 #145311 #21861B #2EB925 #4BD942
Accessibility & contrast
On white
4.68
#21861B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#21861B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21861B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21861B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21861B | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #21861b; /* rgb */ color: rgb(33, 134, 27); /* oklch */ color: oklch(54.3% 0.167 142.2);
Tailwind
colors: {
custom: {
50: '#6eaa60',
500: '#21861b',
950: '#000000',
},
}SCSS
$custom: #21861b; $custom-light: #6eaa60; $custom-dark: #000000;
JSON
{
"hex": "#21861b",
"rgb": {
"r": 33,
"g": 134,
"b": 27
},
"hsl": {
"h": 116.636,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.54291,
"c": 0.16726,
"h": 142.2
},
"luminance": 0.17453
}Semantic roles & 50–950 ramp
primary
#21861B
secondary
#B344B9
accent
#3EE9E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79