#31BAB5#31BAB5

#31BAB5 is a light, moderate teal. Relative luminance 0.391; OKLCH L 71.8% C 0.113 H 191.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#31BAB5
RGBrgb(49, 186, 181)
HSLhsl(178, 58%, 46%)
HSVhsv(178, 74%, 73%)
CMYKcmyk(73.7%, 0%, 2.7%, 27.1%)
CIE-LABlab(68.83, -36.29, -7.87)
CIE-LCHlch(68.83, 37.13, 192.23°)
OKLaboklab(71.78% -0.1104 -0.022)
OKLCHoklch(71.78% 0.113 191.2)
XYZxyz(27.1621, 39.1037, 49.8233)
Luminance0.3911 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BAB5 #BA3136
analogous
#31BA70 #31BAB5 #317ABA
triadic
#31BAB5 #B531BA #BAB531
tetradic
#31BAB5 #7031BA #BA3136 #7ABA31
square
#31BAB5 #7031BA #BA3136 #7ABA31
split-complementary
#31BAB5 #BA317A #BA7031
monochromatic
#175957 #248A86 #31BAB5 #56D2CE #86DFDC

Accessibility & contrast

On white

2.38
#31BAB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#31BAB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BAB5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BAB5#FFFFFF#000000##000000
##31BAB51.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFB0B5
Deuteranopia (green-blind)
#9BA2B6
Tritanopia (blue-blind)
#00BFB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31bab5;
/* rgb */ color: rgb(49, 186, 181);
/* oklch */ color: oklch(71.8% 0.113 191.2);
Tailwind
colors: {
  custom: {
    50: '#80cfcb',
    500: '#31bab5',
    950: '#000000',
  },
}
SCSS
$custom: #31bab5;
$custom-light: #80cfcb;
$custom-dark: #000000;
JSON
{
  "hex": "#31bab5",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 181
  },
  "hsl": {
    "h": 177.81,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71779,
    "c": 0.1126,
    "h": 191.2
  },
  "luminance": 0.39107
}

Semantic roles & 50–950 ramp

primary
#31BAB5
secondary
#C97E81
accent
#464CE2
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1413
muted
#7D8282

Preview Lab

Preview with #31BAB5

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

Preview Lab → · Contrast checker → · Palette generator →

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