#217D5C#217D5C

#217D5C is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.100 H 164.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#217D5C
RGBrgb(33, 125, 92)
HSLhsl(158, 58%, 31%)
HSVhsv(158, 74%, 49%)
CMYKcmyk(73.6%, 0%, 26.4%, 51%)
CIE-LABlab(46.66, -34.90, 10.46)
CIE-LCHlch(46.66, 36.44, 163.32°)
OKLaboklab(52.79% -0.096 0.0267)
OKLCHoklch(52.79% 0.1 164.5)
XYZxyz(9.8915, 15.7621, 12.6442)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D5C #7D2142
analogous
#217D2E #217D5C #21707D
triadic
#217D5C #5C217D #7D5C21
tetradic
#217D5C #2E217D #7D2142 #707D21
square
#217D5C #2E217D #7D2142 #707D21
split-complementary
#217D5C #7D2170 #7D2E21
monochromatic
#071C15 #144D38 #217D5C #2EAD80 #49CF9F

Accessibility & contrast

On white

5.06
#217D5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D5C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D5C#FFFFFF#000000##FFFFFF
##217D5C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745A
Deuteranopia (green-blind)
#6F6B5E
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217d5c;
/* rgb */ color: rgb(33, 125, 92);
/* oklch */ color: oklch(52.8% 0.100 164.5);
Tailwind
colors: {
  custom: {
    50: '#6aa38a',
    500: '#217d5c',
    950: '#000000',
  },
}
SCSS
$custom: #217d5c;
$custom-light: #6aa38a;
$custom-dark: #000000;
JSON
{
  "hex": "#217d5c",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 92
  },
  "hsl": {
    "h": 158.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.09967,
    "h": 164.5
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#217D5C
secondary
#B04A6F
accent
#467EE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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