#31AF9D#31AF9D

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

Color values

HEX#31AF9D
RGBrgb(49, 175, 157)
HSLhsl(171, 56%, 44%)
HSVhsv(171, 72%, 69%)
CMYKcmyk(72%, 0%, 10.3%, 31.4%)
CIE-LABlab(64.76, -37.98, -0.59)
CIE-LCHlch(64.76, 37.98, 180.89°)
OKLaboklab(68.24% -0.1103 -0.0022)
OKLCHoklch(68.24% 0.11 181.1)
XYZxyz(22.6794, 33.7446, 37.2098)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF9D #AF3143
analogous
#31AF5E #31AF9D #3182AF
triadic
#31AF9D #9D31AF #AF9D31
tetradic
#31AF9D #5E31AF #AF3143 #82AF31
square
#31AF9D #5E31AF #AF3143 #82AF31
split-complementary
#31AF9D #AF3182 #AF5E31
monochromatic
#164F47 #247F72 #31AF9D #4FCEBC #7FDBCE

Accessibility & contrast

On white

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

On black

7.75
#31AF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF9D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF9D#FFFFFF#000000##000000
##31AF9D1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af9d;
/* rgb */ color: rgb(49, 175, 157);
/* oklch */ color: oklch(68.2% 0.110 181.1);
Tailwind
colors: {
  custom: {
    50: '#7cc7b9',
    500: '#31af9d',
    950: '#000000',
  },
}
SCSS
$custom: #31af9d;
$custom-light: #7cc7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31af9d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 157
  },
  "hsl": {
    "h": 171.429,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6824,
    "c": 0.11036,
    "h": 181.1
  },
  "luminance": 0.33747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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