#31AF9B#31AF9B

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

Color values

HEX#31AF9B
RGBrgb(49, 175, 155)
HSLhsl(170, 56%, 44%)
HSVhsv(170, 72%, 69%)
CMYKcmyk(72%, 0%, 11.4%, 31.4%)
CIE-LABlab(64.71, -38.52, 0.44)
CIE-LCHlch(64.71, 38.52, 179.34°)
OKLaboklab(68.18% -0.1113 0.0006)
OKLCHoklch(68.18% 0.111 179.7)
XYZxyz(22.5101, 33.6768, 36.3179)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF9B #AF3145
analogous
#31AF5C #31AF9B #3184AF
triadic
#31AF9B #9B31AF #AF9B31
tetradic
#31AF9B #5C31AF #AF3145 #84AF31
square
#31AF9B #5C31AF #AF3145 #84AF31
split-complementary
#31AF9B #AF3184 #AF5C31
monochromatic
#164F46 #247F71 #31AF9B #4FCEBA #7FDBCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF9B#FFFFFF#000000##000000
##31AF9B1.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)
#A7A49A
Deuteranopia (green-blind)
#96989D
Tritanopia (blue-blind)
#00B2A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31af9b;
/* rgb */ color: rgb(49, 175, 155);
/* oklch */ color: oklch(68.2% 0.111 179.7);
Tailwind
colors: {
  custom: {
    50: '#7cc7b8',
    500: '#31af9b',
    950: '#000000',
  },
}
SCSS
$custom: #31af9b;
$custom-light: #7cc7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31af9b",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 155
  },
  "hsl": {
    "h": 170.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.11128,
    "h": 179.7
  },
  "luminance": 0.33679
}

Semantic roles & 50–950 ramp

primary
#31AF9B
secondary
#C47884
accent
#4860E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AF9B

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

Preview Lab → · Contrast checker → · Palette generator →

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