#217E6B#217E6B

#217E6B is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.5% C 0.090 H 175.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#217E6B
RGBrgb(33, 126, 107)
HSLhsl(168, 58%, 31%)
HSVhsv(168, 74%, 49%)
CMYKcmyk(73.8%, 0%, 15.1%, 50.6%)
CIE-LABlab(47.37, -31.43, 2.66)
CIE-LCHlch(47.37, 31.54, 175.16°)
OKLaboklab(53.5% -0.0895 0.0066)
OKLCHoklch(53.5% 0.09 175.8)
XYZxyz(10.7406, 16.3053, 16.4882)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E6B #7E2134
analogous
#217E3C #217E6B #21627E
triadic
#217E6B #6B217E #7E6B21
tetradic
#217E6B #3C217E #7E2134 #627E21
square
#217E6B #3C217E #7E2134 #627E21
split-complementary
#217E6B #7E2162 #7E3C21
monochromatic
#081D19 #144E42 #217E6B #2EAE94 #4AD0B4

Accessibility & contrast

On white

4.93
#217E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#217E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E6B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E6B#FFFFFF#000000##FFFFFF
##217E6B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79766A
Deuteranopia (green-blind)
#6D6D6C
Tritanopia (blue-blind)
#008078
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #217e6b;
/* rgb */ color: rgb(33, 126, 107);
/* oklch */ color: oklch(53.5% 0.090 175.8);
Tailwind
colors: {
  custom: {
    50: '#6ba495',
    500: '#217e6b',
    950: '#000000',
  },
}
SCSS
$custom: #217e6b;
$custom-light: #6ba495;
$custom-dark: #000000;
JSON
{
  "hex": "#217e6b",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 107
  },
  "hsl": {
    "h": 167.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.08972,
    "h": 175.8
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#217E6B
secondary
#B14A5F
accent
#4666E2
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #217E6B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#217E6B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva