#31AF9F#31AF9F

#31AF9F is a light, moderate teal. Relative luminance 0.338; OKLCH L 68.3% C 0.110 H 182.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#31AF9F
RGBrgb(49, 175, 159)
HSLhsl(172, 56%, 44%)
HSVhsv(172, 72%, 69%)
CMYKcmyk(72%, 0%, 9.1%, 31.4%)
CIE-LABlab(64.81, -37.43, -1.62)
CIE-LCHlch(64.81, 37.47, 182.48°)
OKLaboklab(68.3% -0.1094 -0.005)
OKLCHoklch(68.3% 0.11 182.6)
XYZxyz(22.8516, 33.8134, 38.1165)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF9F #AF3141
analogous
#31AF60 #31AF9F #3180AF
triadic
#31AF9F #9F31AF #AF9F31
tetradic
#31AF9F #6031AF #AF3141 #80AF31
square
#31AF9F #6031AF #AF3141 #80AF31
split-complementary
#31AF9F #AF3180 #AF6031
monochromatic
#164F48 #247F74 #31AF9F #4FCEBE #7FDBD0

Accessibility & contrast

On white

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

On black

7.76
#31AF9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF9F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF9F#FFFFFF#000000##000000
##31AF9F1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A59E
Deuteranopia (green-blind)
#9598A0
Tritanopia (blue-blind)
#00B2AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31af9f;
/* rgb */ color: rgb(49, 175, 159);
/* oklch */ color: oklch(68.3% 0.110 182.6);
Tailwind
colors: {
  custom: {
    50: '#7cc7bb',
    500: '#31af9f',
    950: '#000000',
  },
}
SCSS
$custom: #31af9f;
$custom-light: #7cc7bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31af9f",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 159
  },
  "hsl": {
    "h": 172.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68303,
    "c": 0.10952,
    "h": 182.6
  },
  "luminance": 0.33816
}

Semantic roles & 50–950 ramp

primary
#31AF9F
secondary
#C47881
accent
#485BE0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AF9F

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

Preview Lab → · Contrast checker → · Palette generator →

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