#217F4B#217F4B
#217F4B is a mid, moderate green. Relative luminance 0.160; OKLCH L 52.9% C 0.119 H 154.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #217F4B |
|---|---|
| RGB | rgb(33, 127, 75) |
| HSL | hsl(147, 59%, 31%) |
| HSV | hsv(147, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 40.9%, 50.2%) |
| CIE-LAB | lab(46.99, -39.57, 20.69) |
| CIE-LCH | lch(46.99, 44.65, 152.39°) |
| OKLab | oklab(52.95% -0.1068 0.0516) |
| OKLCH | oklch(52.95% 0.119 154.2) |
| XYZ | xyz(9.4857, 16.0090, 9.2454) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.55
Darkish Green
#287C37
ΔE00 4.36
Dark Sea Green
#11875D
ΔE00 4.47
Sea Green
#2E8B57
ΔE00 4.55
Viridian
#1E9167
ΔE00 7.56
Dark Sage
#598556
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F4B #7F2155
analogous
#267F21 #217F4B #217F7A
triadic
#217F4B #4B217F #7F4B21
tetradic
#217F4B #21267F #7F2155 #7F7A21
square
#217F4B #21267F #7F2155 #7F7A21
split-complementary
#217F4B #7A217F #7F2126
monochromatic
#081E12 #144E2E #217F4B #2EB068 #4AD086
Accessibility & contrast
On white
5.00
#217F4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#217F4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F4B
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F4B | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7447
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f4b; /* rgb */ color: rgb(33, 127, 75); /* oklch */ color: oklch(52.9% 0.119 154.2);
Tailwind
colors: {
custom: {
50: '#6aa57e',
500: '#217f4b',
950: '#000000',
},
}SCSS
$custom: #217f4b; $custom-light: #6aa57e; $custom-dark: #000000;
JSON
{
"hex": "#217f4b",
"rgb": {
"r": 33,
"g": 127,
"b": 75
},
"hsl": {
"h": 146.809,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52947,
"c": 0.11856,
"h": 154.2
},
"luminance": 0.1601
}Semantic roles & 50–950 ramp
primary
#217F4B
secondary
#B24A83
accent
#469CE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C