#31B7B5#31B7B5

#31B7B5 is a light, moderate teal. Relative luminance 0.379; OKLCH L 71.0% C 0.111 H 193.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#31B7B5
RGBrgb(49, 183, 181)
HSLhsl(179, 58%, 45%)
HSVhsv(179, 73%, 72%)
CMYKcmyk(73.2%, 0%, 1.1%, 28.2%)
CIE-LABlab(67.91, -34.90, -9.23)
CIE-LCHlch(67.91, 36.10, 194.81°)
OKLaboklab(71.04% -0.1075 -0.0257)
OKLCHoklch(71.04% 0.111 193.4)
XYZxyz(26.5368, 37.8529, 49.6149)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7B5 #B73133
analogous
#31B772 #31B7B5 #3176B7
triadic
#31B7B5 #B531B7 #B7B531
tetradic
#31B7B5 #7231B7 #B73133 #76B731
square
#31B7B5 #7231B7 #B73133 #76B731
split-complementary
#31B7B5 #B73176 #B77231
monochromatic
#175656 #248785 #31B7B5 #54D1CF #84DEDD

Accessibility & contrast

On white

2.45
#31B7B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#31B7B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7B5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7B5#FFFFFF#000000##000000
##31B7B51.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABAEB5
Deuteranopia (green-blind)
#989FB6
Tritanopia (blue-blind)
#00BDB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31b7b5;
/* rgb */ color: rgb(49, 183, 181);
/* oklch */ color: oklch(71.0% 0.111 193.4);
Tailwind
colors: {
  custom: {
    50: '#7fcdcb',
    500: '#31b7b5',
    950: '#000000',
  },
}
SCSS
$custom: #31b7b5;
$custom-light: #7fcdcb;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7b5",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 181
  },
  "hsl": {
    "h": 179.104,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71036,
    "c": 0.1105,
    "h": 193.4
  },
  "luminance": 0.37856
}

Semantic roles & 50–950 ramp

primary
#31B7B5
secondary
#C87C7D
accent
#4749E1
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #31B7B5

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

Preview Lab → · Contrast checker → · Palette generator →

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