#31AB9B#31AB9B

#31AB9B is a light, moderate teal. Relative luminance 0.321; OKLCH L 67.2% C 0.107 H 182.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#31AB9B
RGBrgb(49, 171, 155)
HSLhsl(172, 55%, 43%)
HSVhsv(172, 71%, 67%)
CMYKcmyk(71.3%, 0%, 9.4%, 32.9%)
CIE-LABlab(63.46, -36.71, -1.37)
CIE-LCHlch(63.46, 36.73, 182.14°)
OKLaboklab(67.16% -0.1072 -0.0043)
OKLCHoklch(67.16% 0.107 182.3)
XYZxyz(21.7431, 32.1428, 36.0622)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB9B #AB3141
analogous
#31AB5E #31AB9B #317EAB
triadic
#31AB9B #9B31AB #AB9B31
tetradic
#31AB9B #5E31AB #AB3141 #7EAB31
square
#31AB9B #5E31AB #AB3141 #7EAB31
split-complementary
#31AB9B #AB317E #AB5E31
monochromatic
#164C45 #237B70 #31AB9B #4DCCBB #7DDACD

Accessibility & contrast

On white

2.83
#31AB9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#31AB9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB9B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB9B#FFFFFF#000000##000000
##31AB9B1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A19A
Deuteranopia (green-blind)
#92949C
Tritanopia (blue-blind)
#00AEA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ab9b;
/* rgb */ color: rgb(49, 171, 155);
/* oklch */ color: oklch(67.2% 0.107 182.3);
Tailwind
colors: {
  custom: {
    50: '#7bc4b8',
    500: '#31ab9b',
    950: '#000000',
  },
}
SCSS
$custom: #31ab9b;
$custom-light: #7bc4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab9b",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 155
  },
  "hsl": {
    "h": 172.131,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.10726,
    "h": 182.3
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#31AB9B
secondary
#C27580
accent
#495DDF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB9B

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

Preview Lab → · Contrast checker → · Palette generator →

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