#217B57#217B57

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

Color values

HEX#217B57
RGBrgb(33, 123, 87)
HSLhsl(156, 58%, 31%)
HSVhsv(156, 73%, 48%)
CMYKcmyk(73.2%, 0%, 29.3%, 51.8%)
CIE-LABlab(45.87, -35.24, 12.29)
CIE-LCHlch(45.87, 37.32, 160.78°)
OKLaboklab(52.11% -0.0964 0.0313)
OKLCHoklch(52.11% 0.101 162)
XYZxyz(9.4295, 15.1763, 11.4473)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B57 #7B2145
analogous
#217B2A #217B57 #21727B
triadic
#217B57 #57217B #7B5721
tetradic
#217B57 #2A217B #7B2145 #727B21
square
#217B57 #2A217B #7B2145 #727B21
split-complementary
#217B57 #7B2172 #7B2A21
monochromatic
#071A13 #144B35 #217B57 #2EAB79 #48CE99

Accessibility & contrast

On white

5.20
#217B57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#217B57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B57
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B57#FFFFFF#000000##FFFFFF
##217B571.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217b57;
/* rgb */ color: rgb(33, 123, 87);
/* oklch */ color: oklch(52.1% 0.101 162.0);
Tailwind
colors: {
  custom: {
    50: '#6aa286',
    500: '#217b57',
    950: '#000000',
  },
}
SCSS
$custom: #217b57;
$custom-light: #6aa286;
$custom-dark: #000000;
JSON
{
  "hex": "#217b57",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 87
  },
  "hsl": {
    "h": 156,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.10134,
    "h": 162
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#217B57
secondary
#AE4A72
accent
#4784E1
background
#F6FAF8
surface
#ECF3EF
border
#C7CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #217B57

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

Preview Lab → · Contrast checker → · Palette generator →

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