#217271#217271

#217271 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.5% C 0.075 H 193.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#217271
RGBrgb(33, 114, 113)
HSLhsl(179, 55%, 29%)
HSVhsv(179, 71%, 45%)
CMYKcmyk(71.1%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.58, -23.76, -6.49)
CIE-LCHlch(43.58, 24.63, 195.27°)
OKLaboklab(50.47% -0.0733 -0.018)
OKLCHoklch(50.47% 0.075 193.8)
XYZxyz(9.6238, 13.5491, 17.7276)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217271 #722122
analogous
#217249 #217271 #214B72
triadic
#217271 #712172 #727121
tetradic
#217271 #492172 #722122 #4B7221
square
#217271 #492172 #722122 #4B7221
split-complementary
#217271 #72214B #724921
monochromatic
#071818 #134342 #217271 #2FA1A0 #44C9C7

Accessibility & contrast

On white

5.66
#217271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#217271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217271
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217271#FFFFFF#000000##FFFFFF
##2172711.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C71
Deuteranopia (green-blind)
#5E6372
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217271;
/* rgb */ color: rgb(33, 114, 113);
/* oklch */ color: oklch(50.5% 0.075 193.8);
Tailwind
colors: {
  custom: {
    50: '#6a9b99',
    500: '#217271',
    950: '#000000',
  },
}
SCSS
$custom: #217271;
$custom-light: #6a9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#217271",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.259,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.07549,
    "h": 193.8
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#217271
secondary
#A5494A
accent
#494BDE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #217271

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

Preview Lab → · Contrast checker → · Palette generator →

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