#217B5E#217B5E

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

Color values

HEX#217B5E
RGBrgb(33, 123, 94)
HSLhsl(161, 58%, 31%)
HSVhsv(161, 73%, 48%)
CMYKcmyk(73.2%, 0%, 23.6%, 51.8%)
CIE-LABlab(46.04, -33.51, 8.41)
CIE-LCHlch(46.04, 34.55, 165.91°)
OKLaboklab(52.3% -0.0928 0.0215)
OKLCHoklch(52.3% 0.095 167)
XYZxyz(9.7295, 15.2963, 13.0272)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B5E #7B213E
analogous
#217B31 #217B5E #216B7B
triadic
#217B5E #5E217B #7B5E21
tetradic
#217B5E #31217B #7B213E #6B7B21
square
#217B5E #31217B #7B213E #6B7B21
split-complementary
#217B5E #7B216B #7B3121
monochromatic
#071A14 #144B39 #217B5E #2EAB83 #48CEA3

Accessibility & contrast

On white

5.17
#217B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217B5E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B5E#FFFFFF#000000##FFFFFF
##217B5E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b5e;
/* rgb */ color: rgb(33, 123, 94);
/* oklch */ color: oklch(52.3% 0.095 167.0);
Tailwind
colors: {
  custom: {
    50: '#6aa28b',
    500: '#217b5e',
    950: '#000000',
  },
}
SCSS
$custom: #217b5e;
$custom-light: #6aa28b;
$custom-dark: #000000;
JSON
{
  "hex": "#217b5e",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 94
  },
  "hsl": {
    "h": 160.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.09527,
    "h": 167
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#217B5E
secondary
#AE4A6A
accent
#4779E1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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