#31AB9D#31AB9D

#31AB9D is a light, moderate teal. Relative luminance 0.322; OKLCH L 67.2% C 0.106 H 183.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31AB9D
RGBrgb(49, 171, 157)
HSLhsl(173, 55%, 43%)
HSVhsv(173, 71%, 67%)
CMYKcmyk(71.3%, 0%, 8.2%, 32.9%)
CIE-LABlab(63.52, -36.16, -2.41)
CIE-LCHlch(63.52, 36.24, 183.81°)
OKLaboklab(67.23% -0.1062 -0.0071)
OKLCHoklch(67.23% 0.106 183.8)
XYZxyz(21.9124, 32.2105, 36.9542)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB9D #AB313F
analogous
#31AB60 #31AB9D #317CAB
triadic
#31AB9D #9D31AB #AB9D31
tetradic
#31AB9D #6031AB #AB313F #7CAB31
square
#31AB9D #6031AB #AB313F #7CAB31
split-complementary
#31AB9D #AB317C #AB6031
monochromatic
#164C46 #237B71 #31AB9D #4DCCBD #7DDACF

Accessibility & contrast

On white

2.82
#31AB9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#31AB9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB9D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB9D#FFFFFF#000000##000000
##31AB9D1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A19D
Deuteranopia (green-blind)
#91959E
Tritanopia (blue-blind)
#00AFA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ab9d;
/* rgb */ color: rgb(49, 171, 157);
/* oklch */ color: oklch(67.2% 0.106 183.8);
Tailwind
colors: {
  custom: {
    50: '#7bc4b9',
    500: '#31ab9d',
    950: '#000000',
  },
}
SCSS
$custom: #31ab9d;
$custom-light: #7bc4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab9d",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 157
  },
  "hsl": {
    "h": 173.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67227,
    "c": 0.10648,
    "h": 183.8
  },
  "luminance": 0.32213
}

Semantic roles & 50–950 ramp

primary
#31AB9D
secondary
#C2757E
accent
#495ADF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB9D

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

Preview Lab → · Contrast checker → · Palette generator →

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