#217B5B#217B5B

#217B5B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.2% C 0.098 H 164.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#217B5B
RGBrgb(33, 123, 91)
HSLhsl(159, 58%, 31%)
HSVhsv(159, 73%, 48%)
CMYKcmyk(73.2%, 0%, 26%, 51.8%)
CIE-LABlab(45.97, -34.26, 10.07)
CIE-LCHlch(45.97, 35.71, 163.62°)
OKLaboklab(52.22% -0.0943 0.0257)
OKLCHoklch(52.22% 0.098 164.8)
XYZxyz(9.5974, 15.2435, 12.3320)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B5B #7B2141
analogous
#217B2E #217B5B #216E7B
triadic
#217B5B #5B217B #7B5B21
tetradic
#217B5B #2E217B #7B2141 #6E7B21
square
#217B5B #2E217B #7B2141 #6E7B21
split-complementary
#217B5B #7B216E #7B2E21
monochromatic
#071A14 #144B37 #217B5B #2EAB7F #48CE9F

Accessibility & contrast

On white

5.19
#217B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B5B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B5B#FFFFFF#000000##FFFFFF
##217B5B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787259
Deuteranopia (green-blind)
#6D695D
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217b5b;
/* rgb */ color: rgb(33, 123, 91);
/* oklch */ color: oklch(52.2% 0.098 164.8);
Tailwind
colors: {
  custom: {
    50: '#6aa289',
    500: '#217b5b',
    950: '#000000',
  },
}
SCSS
$custom: #217b5b;
$custom-light: #6aa289;
$custom-dark: #000000;
JSON
{
  "hex": "#217b5b",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 91
  },
  "hsl": {
    "h": 158.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.09779,
    "h": 164.8
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#217B5B
secondary
#AE4A6D
accent
#477EE1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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