#218171#218171

#218171 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.5% C 0.090 H 179.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#218171
RGBrgb(33, 129, 113)
HSLhsl(170, 59%, 32%)
HSVhsv(170, 74%, 51%)
CMYKcmyk(74.4%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.53, -31.16, 0.81)
CIE-LCHlch(48.53, 31.17, 178.51°)
OKLaboklab(54.5% -0.0897 0.0016)
OKLCHoklch(54.5% 0.09 179)
XYZxyz(11.4566, 17.2147, 18.3386)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218171 #812131
analogous
#218141 #218171 #216181
triadic
#218171 #712181 #817121
tetradic
#218171 #412181 #812131 #618121
square
#218171 #412181 #812131 #618121
split-complementary
#218171 #812161 #814121
monochromatic
#08201C #155046 #218171 #2DB29C #4BD1BB

Accessibility & contrast

On white

4.73
#218171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#218171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218171
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218171#FFFFFF#000000##FFFFFF
##2181711.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7970
Deuteranopia (green-blind)
#6E6F72
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #218171;
/* rgb */ color: rgb(33, 129, 113);
/* oklch */ color: oklch(54.5% 0.090 179.0);
Tailwind
colors: {
  custom: {
    50: '#6ca699',
    500: '#218171',
    950: '#000000',
  },
}
SCSS
$custom: #218171;
$custom-light: #6ca699;
$custom-dark: #000000;
JSON
{
  "hex": "#218171",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 170,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.08974,
    "h": 179
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#218171
secondary
#B44A5C
accent
#4560E2
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #218171

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

Preview Lab → · Contrast checker → · Palette generator →

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