#217540#217540
#217540 is a mid, moderate green. Relative luminance 0.134; OKLCH L 49.9% C 0.115 H 151.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #217540 |
|---|---|
| RGB | rgb(33, 117, 64) |
| HSL | hsl(142, 56%, 29%) |
| HSV | hsv(142, 72%, 46%) |
| CMYK | cmyk(71.8%, 0%, 45.3%, 54.1%) |
| CIE-LAB | lab(43.38, -37.63, 22.18) |
| CIE-LCH | lch(43.38, 43.68, 149.48°) |
| OKLab | oklab(49.91% -0.1014 0.0547) |
| OKLCH | oklch(49.91% 0.115 151.6) |
| XYZ | xyz(7.9132, 13.4152, 7.0218) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.07
Jungle Green
#048243
ΔE00 4.77
Dark Sea Green
#11875D
ΔE00 7.73
Spruce
#0A5F38
ΔE00 7.86
Sea Green
#2E8B57
ΔE00 8.15
Pine
#2B5D34
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217540 #752156
analogous
#2C7521 #217540 #21756A
triadic
#217540 #402175 #754021
tetradic
#217540 #212C75 #752156 #756A21
square
#217540 #212C75 #752156 #756A21
split-complementary
#217540 #6A2175 #75212C
monochromatic
#07180D #144526 #217540 #2EA55A #46CB77
Accessibility & contrast
On white
5.70
#217540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#217540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217540
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217540 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #217540; /* rgb */ color: rgb(33, 117, 64); /* oklch */ color: oklch(49.9% 0.115 151.6);
Tailwind
colors: {
custom: {
50: '#689d75',
500: '#217540',
950: '#000000',
},
}SCSS
$custom: #217540; $custom-light: #689d75; $custom-dark: #000000;
JSON
{
"hex": "#217540",
"rgb": {
"r": 33,
"g": 117,
"b": 64
},
"hsl": {
"h": 142.143,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.49913,
"c": 0.11525,
"h": 151.6
},
"luminance": 0.13416
}Semantic roles & 50–950 ramp
primary
#217540
secondary
#A84A85
accent
#49A8DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B