#217871#217871

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

Color values

HEX#217871
RGBrgb(33, 120, 113)
HSLhsl(175, 57%, 30%)
HSVhsv(175, 73%, 47%)
CMYKcmyk(72.5%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.56, -26.80, -3.54)
CIE-LCHlch(45.56, 27.03, 187.54°)
OKLaboklab(52.08% -0.0799 -0.01)
OKLCHoklch(52.08% 0.081 187.1)
XYZxyz(10.3229, 14.9473, 17.9607)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217871 #782128
analogous
#217845 #217871 #215478
triadic
#217871 #712178 #787121
tetradic
#217871 #452178 #782128 #547821
square
#217871 #452178 #782128 #547821
split-complementary
#217871 #782154 #784521
monochromatic
#071817 #144844 #217871 #2EA89E #47CCC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217871#FFFFFF#000000##FFFFFF
##2178711.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)
#717171
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217871;
/* rgb */ color: rgb(33, 120, 113);
/* oklch */ color: oklch(52.1% 0.081 187.1);
Tailwind
colors: {
  custom: {
    50: '#6b9f99',
    500: '#217871',
    950: '#000000',
  },
}
SCSS
$custom: #217871;
$custom-light: #6b9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#217871",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.172,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.08056,
    "h": 187.1
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#217871
secondary
#AB4A52
accent
#4854E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #217871

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

Preview Lab → · Contrast checker → · Palette generator →

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