#217A5E#217A5E

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

Color values

HEX#217A5E
RGBrgb(33, 122, 94)
HSLhsl(161, 57%, 30%)
HSVhsv(161, 73%, 48%)
CMYKcmyk(73%, 0%, 23%, 52.2%)
CIE-LABlab(45.70, -33.06, 7.94)
CIE-LCHlch(45.70, 33.99, 166.50°)
OKLaboklab(52.02% -0.0917 0.0203)
OKLCHoklch(52.02% 0.094 167.5)
XYZxyz(9.6060, 15.0495, 12.9861)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A5E #7A213D
analogous
#217A32 #217A5E #21697A
triadic
#217A5E #5E217A #7A5E21
tetradic
#217A5E #32217A #7A213D #697A21
square
#217A5E #32217A #7A213D #697A21
split-complementary
#217A5E #7A2169 #7A3221
monochromatic
#071A14 #144A39 #217A5E #2EAA83 #48CDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A5E#FFFFFF#000000##FFFFFF
##217A5E1.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)
#77715D
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217a5e;
/* rgb */ color: rgb(33, 122, 94);
/* oklch */ color: oklch(52.0% 0.094 167.5);
Tailwind
colors: {
  custom: {
    50: '#6aa18b',
    500: '#217a5e',
    950: '#000000',
  },
}
SCSS
$custom: #217a5e;
$custom-light: #6aa18b;
$custom-dark: #000000;
JSON
{
  "hex": "#217a5e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 161.124,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.09393,
    "h": 167.5
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#217A5E
secondary
#AD4A69
accent
#4777E1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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