#217870#217870

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

Color values

HEX#217870
RGBrgb(33, 120, 112)
HSLhsl(174, 57%, 30%)
HSVhsv(174, 73%, 47%)
CMYKcmyk(72.5%, 0%, 6.7%, 52.9%)
CIE-LABlab(45.53, -27.10, -2.99)
CIE-LCHlch(45.53, 27.26, 186.31°)
OKLaboklab(52.05% -0.0804 -0.0085)
OKLCHoklch(52.05% 0.081 186.1)
XYZxyz(10.2669, 14.9249, 17.6658)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217870 #782129
analogous
#217845 #217870 #215478
triadic
#217870 #702178 #787021
tetradic
#217870 #452178 #782129 #547821
square
#217870 #452178 #782129 #547821
split-complementary
#217870 #782154 #784521
monochromatic
#071816 #144843 #217870 #2EA89D #47CCC0

Accessibility & contrast

On white

5.27
#217870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217870
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217870#FFFFFF#000000##FFFFFF
##2178701.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727170
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217870;
/* rgb */ color: rgb(33, 120, 112);
/* oklch */ color: oklch(52.0% 0.081 186.1);
Tailwind
colors: {
  custom: {
    50: '#6a9f99',
    500: '#217870',
    950: '#000000',
  },
}
SCSS
$custom: #217870;
$custom-light: #6a9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#217870",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 174.483,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.08087,
    "h": 186.1
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#217870
secondary
#AB4A53
accent
#4856E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #217870

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

Preview Lab → · Contrast checker → · Palette generator →

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