#217B5D#217B5D

#217B5D is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.3% C 0.096 H 166.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#217B5D
RGBrgb(33, 123, 93)
HSLhsl(160, 58%, 31%)
HSVhsv(160, 73%, 48%)
CMYKcmyk(73.2%, 0%, 24.4%, 51.8%)
CIE-LABlab(46.01, -33.76, 8.96)
CIE-LCHlch(46.01, 34.93, 165.13°)
OKLaboklab(52.27% -0.0933 0.0229)
OKLCHoklch(52.27% 0.096 166.2)
XYZxyz(9.6849, 15.2785, 12.7924)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B5D #7B213F
analogous
#217B30 #217B5D #216C7B
triadic
#217B5D #5D217B #7B5D21
tetradic
#217B5D #30217B #7B213F #6C7B21
square
#217B5D #30217B #7B213F #6C7B21
split-complementary
#217B5D #7B216C #7B3021
monochromatic
#071A14 #144B39 #217B5D #2EAB81 #48CEA1

Accessibility & contrast

On white

5.18
#217B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#217B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B5D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B5D#FFFFFF#000000##FFFFFF
##217B5D1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725B
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#007B73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217b5d;
/* rgb */ color: rgb(33, 123, 93);
/* oklch */ color: oklch(52.3% 0.096 166.2);
Tailwind
colors: {
  custom: {
    50: '#6aa28b',
    500: '#217b5d',
    950: '#000000',
  },
}
SCSS
$custom: #217b5d;
$custom-light: #6aa28b;
$custom-dark: #000000;
JSON
{
  "hex": "#217b5d",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 93
  },
  "hsl": {
    "h": 160,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.09609,
    "h": 166.2
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#217B5D
secondary
#AE4A6B
accent
#477AE1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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