#217A5C#217A5C

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

Color values

HEX#217A5C
RGBrgb(33, 122, 92)
HSLhsl(160, 57%, 30%)
HSVhsv(160, 73%, 48%)
CMYKcmyk(73%, 0%, 24.6%, 52.2%)
CIE-LABlab(45.65, -33.56, 9.05)
CIE-LCHlch(45.65, 34.76, 164.92°)
OKLaboklab(51.97% -0.0927 0.0231)
OKLCHoklch(51.97% 0.096 166)
XYZxyz(9.5175, 15.0140, 12.5195)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A5C #7A213F
analogous
#217A2F #217A5C #216B7A
triadic
#217A5C #5C217A #7A5C21
tetradic
#217A5C #2F217A #7A213F #6B7A21
square
#217A5C #2F217A #7A213F #6B7A21
split-complementary
#217A5C #7A216B #7A2F21
monochromatic
#071A13 #144A38 #217A5C #2EAA80 #48CDA0

Accessibility & contrast

On white

5.25
#217A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#217A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A5C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A5C#FFFFFF#000000##FFFFFF
##217A5C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217a5c;
/* rgb */ color: rgb(33, 122, 92);
/* oklch */ color: oklch(52.0% 0.096 166.0);
Tailwind
colors: {
  custom: {
    50: '#6aa18a',
    500: '#217a5c',
    950: '#000000',
  },
}
SCSS
$custom: #217a5c;
$custom-light: #6aa18a;
$custom-dark: #000000;
JSON
{
  "hex": "#217a5c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 92
  },
  "hsl": {
    "h": 159.775,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.09557,
    "h": 166
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

primary
#217A5C
secondary
#AD4A6B
accent
#477BE1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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