#31B5A2#31B5A2

#31B5A2 is a light, moderate teal. Relative luminance 0.363; OKLCH L 69.9% C 0.114 H 180.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#31B5A2
RGBrgb(49, 181, 162)
HSLhsl(171, 57%, 45%)
HSVhsv(171, 73%, 71%)
CMYKcmyk(72.9%, 0%, 10.5%, 29%)
CIE-LABlab(66.75, -39.32, -0.44)
CIE-LCHlch(66.75, 39.32, 180.65°)
OKLaboklab(69.91% -0.1141 -0.0018)
OKLCHoklch(69.91% 0.114 180.9)
XYZxyz(24.3089, 36.3065, 39.9021)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B5A2 #B53144
analogous
#31B560 #31B5A2 #3186B5
triadic
#31B5A2 #A231B5 #B5A231
tetradic
#31B5A2 #6031B5 #B53144 #86B531
square
#31B5A2 #6031B5 #B53144 #86B531
split-complementary
#31B5A2 #B53186 #B56031
monochromatic
#17554C #248577 #31B5A2 #53D0BE #83DDD0

Accessibility & contrast

On white

2.54
#31B5A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#31B5A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B5A2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B5A2#FFFFFF#000000##000000
##31B5A21.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADAAA1
Deuteranopia (green-blind)
#9B9DA4
Tritanopia (blue-blind)
#00B8AF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b5a2;
/* rgb */ color: rgb(49, 181, 162);
/* oklch */ color: oklch(69.9% 0.114 180.9);
Tailwind
colors: {
  custom: {
    50: '#7dccbd',
    500: '#31b5a2',
    950: '#000000',
  },
}
SCSS
$custom: #31b5a2;
$custom-light: #7dccbd;
$custom-dark: #000000;
JSON
{
  "hex": "#31b5a2",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 162
  },
  "hsl": {
    "h": 171.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.11412,
    "h": 180.9
  },
  "luminance": 0.36309
}

Semantic roles & 50–950 ramp

primary
#31B5A2
secondary
#C77B86
accent
#475DE1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #31B5A2

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

Preview Lab → · Contrast checker → · Palette generator →

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