#31B8A7#31B8A7

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

Color values

HEX#31B8A7
RGBrgb(49, 184, 167)
HSLhsl(172, 58%, 46%)
HSVhsv(172, 73%, 72%)
CMYKcmyk(73.4%, 0%, 9.2%, 27.8%)
CIE-LABlab(67.81, -39.30, -1.65)
CIE-LCHlch(67.81, 39.33, 182.40°)
OKLaboklab(70.82% -0.1148 -0.0051)
OKLCHoklch(70.82% 0.115 182.5)
XYZxyz(25.3788, 37.7209, 42.4950)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B8A7 #B83142
analogous
#31B863 #31B8A7 #3186B8
triadic
#31B8A7 #A731B8 #B8A731
tetradic
#31B8A7 #6331B8 #B83142 #86B831
square
#31B8A7 #6331B8 #B83142 #86B831
split-complementary
#31B8A7 #B83186 #B86331
monochromatic
#17574F #24887B #31B8A7 #55D2C2 #85DED3

Accessibility & contrast

On white

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

On black

8.54
#31B8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B8A7
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B8A7#FFFFFF#000000##000000
##31B8A71.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFADA6
Deuteranopia (green-blind)
#9DA0A9
Tritanopia (blue-blind)
#00BCB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31b8a7;
/* rgb */ color: rgb(49, 184, 167);
/* oklch */ color: oklch(70.8% 0.115 182.5);
Tailwind
colors: {
  custom: {
    50: '#7ecec1',
    500: '#31b8a7',
    950: '#000000',
  },
}
SCSS
$custom: #31b8a7;
$custom-light: #7ecec1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b8a7",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 167
  },
  "hsl": {
    "h": 172.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.11492,
    "h": 182.5
  },
  "luminance": 0.37724
}

Semantic roles & 50–950 ramp

primary
#31B8A7
secondary
#C87D86
accent
#475AE1
background
#F8FCFB
surface
#F0F9F7
border
#CBD2D0
text
#0B1412
muted
#7C8281

Preview Lab

Preview with #31B8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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