#217D5D#217D5D

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

Color values

HEX#217D5D
RGBrgb(33, 125, 93)
HSLhsl(159, 58%, 31%)
HSVhsv(159, 74%, 49%)
CMYKcmyk(73.6%, 0%, 25.6%, 51%)
CIE-LABlab(46.68, -34.66, 9.91)
CIE-LCHlch(46.68, 36.04, 164.04°)
OKLaboklab(52.82% -0.0955 0.0253)
OKLCHoklch(52.82% 0.099 165.2)
XYZxyz(9.9355, 15.7797, 12.8760)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D5D #7D2141
analogous
#217D2F #217D5D #216F7D
triadic
#217D5D #5D217D #7D5D21
tetradic
#217D5D #2F217D #7D2141 #6F7D21
square
#217D5D #2F217D #7D2141 #6F7D21
split-complementary
#217D5D #7D216F #7D2F21
monochromatic
#071C15 #144D39 #217D5D #2EAD81 #49CFA1

Accessibility & contrast

On white

5.05
#217D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#217D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D5D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D5D#FFFFFF#000000##FFFFFF
##217D5D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217d5d;
/* rgb */ color: rgb(33, 125, 93);
/* oklch */ color: oklch(52.8% 0.099 165.2);
Tailwind
colors: {
  custom: {
    50: '#6aa38b',
    500: '#217d5d',
    950: '#000000',
  },
}
SCSS
$custom: #217d5d;
$custom-light: #6aa38b;
$custom-dark: #000000;
JSON
{
  "hex": "#217d5d",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 159.13,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.09881,
    "h": 165.2
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#217D5D
secondary
#B04A6D
accent
#467CE1
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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