#31B8A5#31B8A5

#31B8A5 is a light, moderate teal. Relative luminance 0.377; OKLCH L 70.8% C 0.116 H 181.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#31B8A5
RGBrgb(49, 184, 165)
HSLhsl(172, 58%, 46%)
HSVhsv(172, 73%, 72%)
CMYKcmyk(73.4%, 0%, 10.3%, 27.8%)
CIE-LABlab(67.76, -39.84, -0.63)
CIE-LCHlch(67.76, 39.85, 180.90°)
OKLaboklab(70.76% -0.1157 -0.0023)
OKLCHoklch(70.76% 0.116 181.2)
XYZxyz(25.1953, 37.6476, 41.5288)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B8A5 #B83144
analogous
#31B862 #31B8A5 #3187B8
triadic
#31B8A5 #A531B8 #B8A531
tetradic
#31B8A5 #6231B8 #B83144 #87B831
square
#31B8A5 #6231B8 #B83144 #87B831
split-complementary
#31B8A5 #B83187 #B86231
monochromatic
#17574E #24887A #31B8A5 #55D2C0 #85DED2

Accessibility & contrast

On white

2.46
#31B8A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#31B8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B8A5
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B8A5#FFFFFF#000000##000000
##31B8A51.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0ADA4
Deuteranopia (green-blind)
#9D9FA7
Tritanopia (blue-blind)
#00BBB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31b8a5;
/* rgb */ color: rgb(49, 184, 165);
/* oklch */ color: oklch(70.8% 0.116 181.2);
Tailwind
colors: {
  custom: {
    50: '#7ecebf',
    500: '#31b8a5',
    950: '#000000',
  },
}
SCSS
$custom: #31b8a5;
$custom-light: #7ecebf;
$custom-dark: #000000;
JSON
{
  "hex": "#31b8a5",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 165
  },
  "hsl": {
    "h": 171.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.11575,
    "h": 181.2
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#31B8A5
secondary
#C87D87
accent
#475CE1
background
#F8FCFB
surface
#F0F9F7
border
#CBD2D0
text
#0B1412
muted
#7C8281

Preview Lab

Preview with #31B8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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