#217B50#217B50

#217B50 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.108 H 157.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#217B50
RGBrgb(33, 123, 80)
HSLhsl(151, 58%, 31%)
HSVhsv(151, 73%, 48%)
CMYKcmyk(73.2%, 0%, 35%, 51.8%)
CIE-LABlab(45.73, -36.85, 16.15)
CIE-LCHlch(45.73, 40.23, 156.33°)
OKLaboklab(51.94% -0.1 0.0407)
OKLCHoklch(51.94% 0.108 157.8)
XYZxyz(9.1572, 15.0674, 10.0136)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B50 #7B214C
analogous
#217B23 #217B50 #21797B
triadic
#217B50 #50217B #7B5021
tetradic
#217B50 #23217B #7B214C #797B21
square
#217B50 #23217B #7B214C #797B21
split-complementary
#217B50 #7B2179 #7B2321
monochromatic
#071A11 #144B31 #217B50 #2EAB6F #48CE8E

Accessibility & contrast

On white

5.23
#217B50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#217B50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B50
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B50#FFFFFF#000000##FFFFFF
##217B501.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714D
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b50;
/* rgb */ color: rgb(33, 123, 80);
/* oklch */ color: oklch(51.9% 0.108 157.8);
Tailwind
colors: {
  custom: {
    50: '#6aa281',
    500: '#217b50',
    950: '#000000',
  },
}
SCSS
$custom: #217b50;
$custom-light: #6aa281;
$custom-dark: #000000;
JSON
{
  "hex": "#217b50",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 80
  },
  "hsl": {
    "h": 151.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.10795,
    "h": 157.8
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#217B50
secondary
#AE4A7A
accent
#4790E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217B50

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

Preview Lab → · Contrast checker → · Palette generator →

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