#217A5D#217A5D

#217A5D is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.095 H 166.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217A5D
RGBrgb(33, 122, 93)
HSLhsl(160, 57%, 30%)
HSVhsv(160, 73%, 48%)
CMYKcmyk(73%, 0%, 23.8%, 52.2%)
CIE-LABlab(45.68, -33.31, 8.49)
CIE-LCHlch(45.68, 34.38, 165.70°)
OKLaboklab(52% -0.0922 0.0217)
OKLCHoklch(52% 0.095 166.8)
XYZxyz(9.5615, 15.0316, 12.7513)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A5D #7A213E
analogous
#217A30 #217A5D #216A7A
triadic
#217A5D #5D217A #7A5D21
tetradic
#217A5D #30217A #7A213E #6A7A21
square
#217A5D #30217A #7A213E #6A7A21
split-complementary
#217A5D #7A216A #7A3021
monochromatic
#071A14 #144A38 #217A5D #2EAA82 #48CDA2

Accessibility & contrast

On white

5.24
#217A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A5D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A5D#FFFFFF#000000##FFFFFF
##217A5D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715B
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217a5d;
/* rgb */ color: rgb(33, 122, 93);
/* oklch */ color: oklch(52.0% 0.095 166.8);
Tailwind
colors: {
  custom: {
    50: '#6aa18b',
    500: '#217a5d',
    950: '#000000',
  },
}
SCSS
$custom: #217a5d;
$custom-light: #6aa18b;
$custom-dark: #000000;
JSON
{
  "hex": "#217a5d",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 160.449,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.09474,
    "h": 166.8
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#217A5D
secondary
#AD4A6A
accent
#4779E1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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