#217B5A#217B5A

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

Color values

HEX#217B5A
RGBrgb(33, 123, 90)
HSLhsl(158, 58%, 31%)
HSVhsv(158, 73%, 48%)
CMYKcmyk(73.2%, 0%, 26.8%, 51.8%)
CIE-LABlab(45.94, -34.51, 10.63)
CIE-LCHlch(45.94, 36.11, 162.89°)
OKLaboklab(52.19% -0.0949 0.0271)
OKLCHoklch(52.19% 0.099 164)
XYZxyz(9.5546, 15.2263, 12.1063)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B5A #7B2142
analogous
#217B2D #217B5A #216F7B
triadic
#217B5A #5A217B #7B5A21
tetradic
#217B5A #2D217B #7B2142 #6F7B21
square
#217B5A #2D217B #7B2142 #6F7B21
split-complementary
#217B5A #7B216F #7B2D21
monochromatic
#071A13 #144B37 #217B5A #2EAB7D #48CE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217B5A#FFFFFF#000000##FFFFFF
##217B5A1.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)
#797258
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217b5a;
/* rgb */ color: rgb(33, 123, 90);
/* oklch */ color: oklch(52.2% 0.099 164.0);
Tailwind
colors: {
  custom: {
    50: '#6aa288',
    500: '#217b5a',
    950: '#000000',
  },
}
SCSS
$custom: #217b5a;
$custom-light: #6aa288;
$custom-dark: #000000;
JSON
{
  "hex": "#217b5a",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 90
  },
  "hsl": {
    "h": 158,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.09866,
    "h": 164
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#217B5A
secondary
#AE4A6F
accent
#477FE1
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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