#217866#217866

#217866 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.086 H 175.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#217866
RGBrgb(33, 120, 102)
HSLhsl(168, 57%, 30%)
HSVhsv(168, 73%, 47%)
CMYKcmyk(72.5%, 0%, 15%, 52.9%)
CIE-LABlab(45.24, -29.98, 2.54)
CIE-LCHlch(45.24, 30.09, 175.17°)
OKLaboklab(51.72% -0.0854 0.0063)
OKLCHoklch(51.72% 0.086 175.8)
XYZxyz(9.7407, 14.7145, 14.8946)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217866 #782133
analogous
#21783A #217866 #215F78
triadic
#217866 #662178 #786621
tetradic
#217866 #3A2178 #782133 #5F7821
square
#217866 #3A2178 #782133 #5F7821
split-complementary
#217866 #78215F #783A21
monochromatic
#071814 #14483D #217866 #2EA88F #47CCB1

Accessibility & contrast

On white

5.33
#217866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#217866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217866
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217866#FFFFFF#000000##FFFFFF
##2178661.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737065
Deuteranopia (green-blind)
#676767
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217866;
/* rgb */ color: rgb(33, 120, 102);
/* oklch */ color: oklch(51.7% 0.086 175.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f91',
    500: '#217866',
    950: '#000000',
  },
}
SCSS
$custom: #217866;
$custom-light: #6a9f91;
$custom-dark: #000000;
JSON
{
  "hex": "#217866",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 102
  },
  "hsl": {
    "h": 167.586,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.08564,
    "h": 175.8
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#217866
secondary
#AB4A5E
accent
#4867E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #217866

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

Preview Lab → · Contrast checker → · Palette generator →

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