#217A5F#217A5F

#217A5F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.093 H 168.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#217A5F
RGBrgb(33, 122, 95)
HSLhsl(162, 57%, 30%)
HSVhsv(162, 73%, 48%)
CMYKcmyk(73%, 0%, 22.1%, 52.2%)
CIE-LABlab(45.73, -32.80, 7.38)
CIE-LCHlch(45.73, 33.62, 167.32°)
OKLaboklab(52.05% -0.0912 0.0189)
OKLCHoklch(52.05% 0.093 168.3)
XYZxyz(9.6512, 15.0675, 13.2239)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A5F #7A213C
analogous
#217A33 #217A5F #21687A
triadic
#217A5F #5F217A #7A5F21
tetradic
#217A5F #33217A #7A213C #687A21
square
#217A5F #33217A #7A213C #687A21
split-complementary
#217A5F #7A2168 #7A3321
monochromatic
#071A14 #144A39 #217A5F #2EAA85 #48CDA5

Accessibility & contrast

On white

5.23
#217A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A5F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A5F#FFFFFF#000000##FFFFFF
##217A5F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217a5f;
/* rgb */ color: rgb(33, 122, 95);
/* oklch */ color: oklch(52.1% 0.093 168.3);
Tailwind
colors: {
  custom: {
    50: '#6aa18c',
    500: '#217a5f',
    950: '#000000',
  },
}
SCSS
$custom: #217a5f;
$custom-light: #6aa18c;
$custom-dark: #000000;
JSON
{
  "hex": "#217a5f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 161.798,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.09313,
    "h": 168.3
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#217A5F
secondary
#AD4A68
accent
#4776E1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #217A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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