#21892F#21892F
#21892F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.158 H 144.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #21892F |
|---|---|
| RGB | rgb(33, 137, 47) |
| HSL | hsl(128, 61%, 33%) |
| HSV | hsv(128, 76%, 54%) |
| CMYK | cmyk(75.9%, 0%, 65.7%, 46.3%) |
| CIE-LAB | lab(50.00, -47.77, 38.92) |
| CIE-LCH | lch(50.00, 61.62, 140.83°) |
| OKLab | oklab(55.32% -0.129 0.0906) |
| OKLCH | oklch(55.32% 0.158 144.9) |
| XYZ | xyz(10.0853, 18.4187, 5.7124) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.10
Emerald Green
#028F1E
ΔE00 3.17
Kelley Green
#009337
ΔE00 3.62
Irish Green
#019529
ΔE00 4.41
Tree Green
#2A7E19
ΔE00 4.60
Green
#008000
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21892F #89217B
analogous
#478921 #21892F #218963
triadic
#21892F #2F2189 #892F21
tetradic
#21892F #214789 #89217B #896321
square
#21892F #214789 #89217B #896321
split-complementary
#21892F #632189 #892147
monochromatic
#09260D #15581E #21892F #2DBA40 #50D562
Accessibility & contrast
On white
4.48
#21892F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#21892F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21892F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21892F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21892F | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7C24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #21892f; /* rgb */ color: rgb(33, 137, 47); /* oklch */ color: oklch(55.3% 0.158 144.9);
Tailwind
colors: {
custom: {
50: '#6eac6b',
500: '#21892f',
950: '#000000',
},
}SCSS
$custom: #21892f; $custom-light: #6eac6b; $custom-dark: #000000;
JSON
{
"hex": "#21892f",
"rgb": {
"r": 33,
"g": 137,
"b": 47
},
"hsl": {
"h": 128.077,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.55317,
"c": 0.15766,
"h": 144.9
},
"luminance": 0.1842
}Semantic roles & 50–950 ramp
primary
#21892F
secondary
#B84EAA
accent
#44CFE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A