#31AF9C#31AF9C

#31AF9C is a light, moderate teal. Relative luminance 0.337; OKLCH L 68.2% C 0.111 H 180.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#31AF9C
RGBrgb(49, 175, 156)
HSLhsl(171, 56%, 44%)
HSVhsv(171, 72%, 69%)
CMYKcmyk(72%, 0%, 10.9%, 31.4%)
CIE-LABlab(64.73, -38.25, -0.07)
CIE-LCHlch(64.73, 38.25, 180.11°)
OKLaboklab(68.21% -0.1108 -0.0008)
OKLCHoklch(68.21% 0.111 180.4)
XYZxyz(22.5944, 33.7106, 36.7620)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF9C #AF3144
analogous
#31AF5D #31AF9C #3183AF
triadic
#31AF9C #9C31AF #AF9C31
tetradic
#31AF9C #5D31AF #AF3144 #83AF31
square
#31AF9C #5D31AF #AF3144 #83AF31
split-complementary
#31AF9C #AF3183 #AF5D31
monochromatic
#164F47 #247F71 #31AF9C #4FCEBB #7FDBCD

Accessibility & contrast

On white

2.71
#31AF9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#31AF9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF9C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF9C#FFFFFF#000000##000000
##31AF9C1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A49B
Deuteranopia (green-blind)
#96989E
Tritanopia (blue-blind)
#00B2A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31af9c;
/* rgb */ color: rgb(49, 175, 156);
/* oklch */ color: oklch(68.2% 0.111 180.4);
Tailwind
colors: {
  custom: {
    50: '#7cc7b9',
    500: '#31af9c',
    950: '#000000',
  },
}
SCSS
$custom: #31af9c;
$custom-light: #7cc7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31af9c",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 156
  },
  "hsl": {
    "h": 170.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68209,
    "c": 0.11081,
    "h": 180.4
  },
  "luminance": 0.33713
}

Semantic roles & 50–950 ramp

primary
#31AF9C
secondary
#C47883
accent
#485FE0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AF9C

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

Preview Lab → · Contrast checker → · Palette generator →

#31AF9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva