#217522#217522
#217522 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.142 H 143.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #217522 |
|---|---|
| RGB | rgb(33, 117, 34) |
| HSL | hsl(121, 56%, 29%) |
| HSV | hsv(121, 72%, 46%) |
| CMYK | cmyk(71.8%, 0%, 70.9%, 54.1%) |
| CIE-LAB | lab(43.00, -42.02, 37.13) |
| CIE-LCH | lch(43.00, 56.07, 138.54°) |
| OKLab | oklab(49.48% -0.114 0.0853) |
| OKLCH | oklch(49.48% 0.142 143.2) |
| XYZ | xyz(7.2768, 13.1606, 3.6698) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 3.90
Green
#008000
ΔE00 5.22
Darkgreen
#006400
ΔE00 6.17
Dark Grass Green
#388004
ΔE00 6.40
Jungle Green
#048243
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217522 #752174
analogous
#4A7521 #217522 #21754C
triadic
#217522 #222175 #752221
tetradic
#217522 #214A75 #752174 #754C21
square
#217522 #214A75 #752174 #754C21
split-complementary
#217522 #4C2175 #75214A
monochromatic
#071807 #144514 #217522 #2EA530 #46CB47
Accessibility & contrast
On white
5.78
#217522 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#217522 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217522
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217522 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217522 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#097264
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #217522; /* rgb */ color: rgb(33, 117, 34); /* oklch */ color: oklch(49.5% 0.142 143.2);
Tailwind
colors: {
custom: {
50: '#6a9e62',
500: '#217522',
950: '#000000',
},
}SCSS
$custom: #217522; $custom-light: #6a9e62; $custom-dark: #000000;
JSON
{
"hex": "#217522",
"rgb": {
"r": 33,
"g": 117,
"b": 34
},
"hsl": {
"h": 120.714,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.49478,
"c": 0.14242,
"h": 143.2
},
"luminance": 0.13161
}Semantic roles & 50–950 ramp
primary
#217522
secondary
#A84AA7
accent
#49DEDF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79