#217872#217872

#217872 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.080 H 188.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#217872
RGBrgb(33, 120, 114)
HSLhsl(176, 57%, 30%)
HSVhsv(176, 73%, 47%)
CMYKcmyk(72.5%, 0%, 5%, 52.9%)
CIE-LABlab(45.59, -26.50, -4.09)
CIE-LCHlch(45.59, 26.81, 188.78°)
OKLaboklab(52.12% -0.0794 -0.0115)
OKLCHoklch(52.12% 0.08 188.3)
XYZxyz(10.3795, 14.9700, 18.2588)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217872 #782127
analogous
#217846 #217872 #215378
triadic
#217872 #722178 #787221
tetradic
#217872 #462178 #782127 #537821
square
#217872 #462178 #782127 #537821
split-complementary
#217872 #782153 #784621
monochromatic
#071817 #144844 #217872 #2EA8A0 #47CCC3

Accessibility & contrast

On white

5.26
#217872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#217872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217872
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217872#FFFFFF#000000##FFFFFF
##2178721.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717172
Deuteranopia (green-blind)
#656873
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217872;
/* rgb */ color: rgb(33, 120, 114);
/* oklch */ color: oklch(52.1% 0.080 188.3);
Tailwind
colors: {
  custom: {
    50: '#6b9f9a',
    500: '#217872',
    950: '#000000',
  },
}
SCSS
$custom: #217872;
$custom-light: #6b9f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#217872",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 175.862,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.08027,
    "h": 188.3
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#217872
secondary
#AB4A50
accent
#4852E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #217872

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

Preview Lab → · Contrast checker → · Palette generator →

#217872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva