#31B2AB#31B2AB

#31B2AB is a light, moderate teal. Relative luminance 0.354; OKLCH L 69.5% C 0.108 H 189.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#31B2AB
RGBrgb(49, 178, 171)
HSLhsl(177, 57%, 45%)
HSVhsv(177, 72%, 70%)
CMYKcmyk(72.5%, 0%, 3.9%, 30.2%)
CIE-LABlab(66.08, -35.45, -6.42)
CIE-LCHlch(66.08, 36.02, 190.26°)
OKLaboklab(69.45% -0.1069 -0.018)
OKLCHoklch(69.45% 0.108 189.5)
XYZxyz(24.5343, 35.4311, 44.0660)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B2AB #B23138
analogous
#31B26B #31B2AB #3179B2
triadic
#31B2AB #AB31B2 #B2AB31
tetradic
#31B2AB #6B31B2 #B23138 #79B231
square
#31B2AB #6B31B2 #B23138 #79B231
split-complementary
#31B2AB #B23179 #B26B31
monochromatic
#17524F #24827D #31B2AB #51CFC8 #81DCD7

Accessibility & contrast

On white

2.60
#31B2AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#31B2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B2AB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B2AB#FFFFFF#000000##000000
##31B2AB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A8AB
Deuteranopia (green-blind)
#959BAC
Tritanopia (blue-blind)
#00B7B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b2ab;
/* rgb */ color: rgb(49, 178, 171);
/* oklch */ color: oklch(69.5% 0.108 189.5);
Tailwind
colors: {
  custom: {
    50: '#7ec9c3',
    500: '#31b2ab',
    950: '#000000',
  },
}
SCSS
$custom: #31b2ab;
$custom-light: #7ec9c3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b2ab",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 171
  },
  "hsl": {
    "h": 176.744,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6945,
    "c": 0.10845,
    "h": 189.5
  },
  "luminance": 0.35434
}

Semantic roles & 50–950 ramp

primary
#31B2AB
secondary
#C5797D
accent
#4850E0
background
#F8FCFC
surface
#EFF8F8
border
#CAD1D1
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #31B2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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