#21891F#21891F
#21891F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.169 H 142.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21891F |
|---|---|
| RGB | rgb(33, 137, 31) |
| HSL | hsl(119, 63%, 33%) |
| HSV | hsv(119, 77%, 54%) |
| CMYK | cmyk(75.9%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(49.87, -49.32, 45.40) |
| CIE-LCH | lch(49.87, 67.03, 137.37°) |
| OKLab | oklab(55.17% -0.134 0.1022) |
| OKLCH | oklch(55.17% 0.169 142.7) |
| XYZ | xyz(9.8196, 18.3125, 4.3132) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.75
Emerald Green
#028F1E
ΔE00 2.25
Green
#008000
ΔE00 3.85
Tree Green
#2A7E19
ΔE00 3.91
Irish Green
#019529
ΔE00 4.26
True Green
#089404
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21891F #871F89
analogous
#56891F #21891F #1F8952
triadic
#21891F #1F2189 #891F21
tetradic
#21891F #1F5689 #871F89 #89521F
square
#21891F #1F5689 #871F89 #89521F
split-complementary
#21891F #521F89 #891F56
monochromatic
#092508 #155714 #21891F #2DBB2A #4FD64C
Accessibility & contrast
On white
4.50
#21891F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#21891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21891F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21891F | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #21891f; /* rgb */ color: rgb(33, 137, 31); /* oklch */ color: oklch(55.2% 0.169 142.7);
Tailwind
colors: {
custom: {
50: '#6fac63',
500: '#21891f',
950: '#000000',
},
}SCSS
$custom: #21891f; $custom-light: #6fac63; $custom-dark: #000000;
JSON
{
"hex": "#21891f",
"rgb": {
"r": 33,
"g": 137,
"b": 31
},
"hsl": {
"h": 118.868,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.5517,
"c": 0.16852,
"h": 142.7
},
"luminance": 0.18314
}Semantic roles & 50–950 ramp
primary
#21891F
secondary
#B74BB9
accent
#42E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A