#21891E#21891E
#21891E is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.169 H 142.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #21891E |
|---|---|
| RGB | rgb(33, 137, 30) |
| HSL | hsl(118, 64%, 33%) |
| HSV | hsv(118, 78%, 54%) |
| CMYK | cmyk(75.9%, 0%, 78.1%, 46.3%) |
| CIE-LAB | lab(49.87, -49.40, 45.75) |
| CIE-LCH | lch(49.87, 67.33, 137.20°) |
| OKLab | oklab(55.16% -0.1342 0.1028) |
| OKLCH | oklch(55.16% 0.169 142.6) |
| XYZ | xyz(9.8066, 18.3073, 4.2449) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.78
Emerald Green
#028F1E
ΔE00 2.25
Green
#008000
ΔE00 3.81
Tree Green
#2A7E19
ΔE00 3.91
Irish Green
#019529
ΔE00 4.28
True Green
#089404
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21891E #861E89
analogous
#56891E #21891E #1E8951
triadic
#21891E #1E2189 #891E21
tetradic
#21891E #1E5689 #861E89 #89511E
square
#21891E #1E5689 #861E89 #89511E
split-complementary
#21891E #511E89 #891E56
monochromatic
#092508 #155713 #21891E #2DBB29 #4ED74A
Accessibility & contrast
On white
4.50
#21891E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#21891E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21891E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21891E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21891E | 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)
#8C7B05
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #21891e; /* rgb */ color: rgb(33, 137, 30); /* oklch */ color: oklch(55.2% 0.169 142.6);
Tailwind
colors: {
custom: {
50: '#6fac62',
500: '#21891e',
950: '#000000',
},
}SCSS
$custom: #21891e; $custom-light: #6fac62; $custom-dark: #000000;
JSON
{
"hex": "#21891e",
"rgb": {
"r": 33,
"g": 137,
"b": 30
},
"hsl": {
"h": 118.318,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.55163,
"c": 0.16908,
"h": 142.6
},
"luminance": 0.18308
}Semantic roles & 50–950 ramp
primary
#21891E
secondary
#B749BA
accent
#41E7E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A