#217B4B#217B4B
#217B4B is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.8% C 0.113 H 155.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #217B4B |
|---|---|
| RGB | rgb(33, 123, 75) |
| HSL | hsl(148, 58%, 31%) |
| HSV | hsv(148, 73%, 48%) |
| CMYK | cmyk(73.2%, 0%, 39%, 51.8%) |
| CIE-LAB | lab(45.63, -37.92, 18.89) |
| CIE-LCH | lch(45.63, 42.36, 153.52°) |
| OKLab | oklab(51.83% -0.1025 0.0473) |
| OKLCH | oklch(51.83% 0.113 155.2) |
| XYZ | xyz(8.9793, 14.9962, 9.0766) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.83
Darkish Green
#287C37
ΔE00 4.95
Dark Sea Green
#11875D
ΔE00 5.07
Sea Green
#2E8B57
ΔE00 5.91
Dark Sage
#598556
ΔE00 8.28
Viridian
#1E9167
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217B4B #7B2151
analogous
#247B21 #217B4B #217B78
triadic
#217B4B #4B217B #7B4B21
tetradic
#217B4B #21247B #7B2151 #7B7821
square
#217B4B #21247B #7B2151 #7B7821
split-complementary
#217B4B #78217B #7B2124
monochromatic
#071A10 #144B2E #217B4B #2EAB68 #48CE87
Accessibility & contrast
On white
5.25
#217B4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#217B4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217B4B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217B4B | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7148
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #217b4b; /* rgb */ color: rgb(33, 123, 75); /* oklch */ color: oklch(51.8% 0.113 155.2);
Tailwind
colors: {
custom: {
50: '#6aa27d',
500: '#217b4b',
950: '#000000',
},
}SCSS
$custom: #217b4b; $custom-light: #6aa27d; $custom-dark: #000000;
JSON
{
"hex": "#217b4b",
"rgb": {
"r": 33,
"g": 123,
"b": 75
},
"hsl": {
"h": 148,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.51829,
"c": 0.11286,
"h": 155.2
},
"luminance": 0.14997
}Semantic roles & 50–950 ramp
primary
#217B4B
secondary
#AE4A7F
accent
#4799E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B