#217B56#217B56

#217B56 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.1% C 0.102 H 161.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#217B56
RGBrgb(33, 123, 86)
HSLhsl(155, 58%, 31%)
HSVhsv(155, 73%, 48%)
CMYKcmyk(73.2%, 0%, 30.1%, 51.8%)
CIE-LABlab(45.85, -35.47, 12.84)
CIE-LCHlch(45.85, 37.73, 160.10°)
OKLaboklab(52.09% -0.0969 0.0326)
OKLCHoklch(52.09% 0.102 161.4)
XYZxyz(9.3889, 15.1601, 11.2337)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B56 #7B2146
analogous
#217B29 #217B56 #21737B
triadic
#217B56 #56217B #7B5621
tetradic
#217B56 #29217B #7B2146 #737B21
square
#217B56 #29217B #7B2146 #737B21
split-complementary
#217B56 #7B2173 #7B2921
monochromatic
#071A13 #144B34 #217B56 #2EAB78 #48CE97

Accessibility & contrast

On white

5.21
#217B56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#217B56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B56
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B56#FFFFFF#000000##FFFFFF
##217B561.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797254
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217b56;
/* rgb */ color: rgb(33, 123, 86);
/* oklch */ color: oklch(52.1% 0.102 161.4);
Tailwind
colors: {
  custom: {
    50: '#6aa285',
    500: '#217b56',
    950: '#000000',
  },
}
SCSS
$custom: #217b56;
$custom-light: #6aa285;
$custom-dark: #000000;
JSON
{
  "hex": "#217b56",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 86
  },
  "hsl": {
    "h": 155.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.10226,
    "h": 161.4
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#217B56
secondary
#AE4A73
accent
#4786E1
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B56

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

Preview Lab → · Contrast checker → · Palette generator →

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