#217C5B#217C5B

#217C5B is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.5% C 0.099 H 164.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#217C5B
RGBrgb(33, 124, 91)
HSLhsl(158, 58%, 31%)
HSVhsv(158, 73%, 49%)
CMYKcmyk(73.4%, 0%, 26.6%, 51.4%)
CIE-LABlab(46.30, -34.71, 10.54)
CIE-LCHlch(46.30, 36.27, 163.10°)
OKLaboklab(52.49% -0.0954 0.0269)
OKLCHoklch(52.49% 0.099 164.3)
XYZxyz(9.7221, 15.4929, 12.3735)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C5B #7C2142
analogous
#217C2D #217C5B #216F7C
triadic
#217C5B #5B217C #7C5B21
tetradic
#217C5B #2D217C #7C2142 #6F7C21
square
#217C5B #2D217C #7C2142 #6F7C21
split-complementary
#217C5B #7C216F #7C2D21
monochromatic
#071B14 #144C38 #217C5B #2EAC7E #49CF9E

Accessibility & contrast

On white

5.12
#217C5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#217C5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C5B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C5B#FFFFFF#000000##FFFFFF
##217C5B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7359
Deuteranopia (green-blind)
#6E6A5D
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217c5b;
/* rgb */ color: rgb(33, 124, 91);
/* oklch */ color: oklch(52.5% 0.099 164.3);
Tailwind
colors: {
  custom: {
    50: '#6aa289',
    500: '#217c5b',
    950: '#000000',
  },
}
SCSS
$custom: #217c5b;
$custom-light: #6aa289;
$custom-dark: #000000;
JSON
{
  "hex": "#217c5b",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 91
  },
  "hsl": {
    "h": 158.242,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.09916,
    "h": 164.3
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#217C5B
secondary
#AF4A6F
accent
#477FE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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