#217B5C#217B5C

#217B5C is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.2% C 0.097 H 165.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#217B5C
RGBrgb(33, 123, 92)
HSLhsl(159, 58%, 31%)
HSVhsv(159, 73%, 48%)
CMYKcmyk(73.2%, 0%, 25.2%, 51.8%)
CIE-LABlab(45.99, -34.01, 9.52)
CIE-LCHlch(45.99, 35.32, 164.37°)
OKLaboklab(52.24% -0.0938 0.0243)
OKLCHoklch(52.24% 0.097 165.5)
XYZxyz(9.6409, 15.2609, 12.5607)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B5C #7B2140
analogous
#217B2F #217B5C #216D7B
triadic
#217B5C #5C217B #7B5C21
tetradic
#217B5C #2F217B #7B2140 #6D7B21
square
#217B5C #2F217B #7B2140 #6D7B21
split-complementary
#217B5C #7B216D #7B2F21
monochromatic
#071A14 #144B38 #217B5C #2EAB80 #48CEA0

Accessibility & contrast

On white

5.18
#217B5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217B5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B5C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B5C#FFFFFF#000000##FFFFFF
##217B5C1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725A
Deuteranopia (green-blind)
#6D695E
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217b5c;
/* rgb */ color: rgb(33, 123, 92);
/* oklch */ color: oklch(52.2% 0.097 165.5);
Tailwind
colors: {
  custom: {
    50: '#6aa28a',
    500: '#217b5c',
    950: '#000000',
  },
}
SCSS
$custom: #217b5c;
$custom-light: #6aa28a;
$custom-dark: #000000;
JSON
{
  "hex": "#217b5c",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 92
  },
  "hsl": {
    "h": 159.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.09693,
    "h": 165.5
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#217B5C
secondary
#AE4A6C
accent
#477CE1
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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