#31B7A5#31B7A5

#31B7A5 is a light, moderate teal. Relative luminance 0.372; OKLCH L 70.5% C 0.115 H 181.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#31B7A5
RGBrgb(49, 183, 165)
HSLhsl(172, 58%, 45%)
HSVhsv(172, 73%, 72%)
CMYKcmyk(73.2%, 0%, 9.8%, 28.2%)
CIE-LABlab(67.45, -39.40, -1.08)
CIE-LCHlch(67.45, 39.41, 181.57°)
OKLaboklab(70.51% -0.1147 -0.0035)
OKLCHoklch(70.51% 0.115 181.8)
XYZxyz(24.9883, 37.2336, 41.4598)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7A5 #B73143
analogous
#31B762 #31B7A5 #3186B7
triadic
#31B7A5 #A531B7 #B7A531
tetradic
#31B7A5 #6231B7 #B73143 #86B731
square
#31B7A5 #6231B7 #B73143 #86B731
split-complementary
#31B7A5 #B73186 #B76231
monochromatic
#17564E #248779 #31B7A5 #54D1C0 #84DED2

Accessibility & contrast

On white

2.49
#31B7A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#31B7A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7A5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7A5#FFFFFF#000000##000000
##31B7A51.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFACA4
Deuteranopia (green-blind)
#9C9FA7
Tritanopia (blue-blind)
#00BAB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b7a5;
/* rgb */ color: rgb(49, 183, 165);
/* oklch */ color: oklch(70.5% 0.115 181.8);
Tailwind
colors: {
  custom: {
    50: '#7ecdbf',
    500: '#31b7a5',
    950: '#000000',
  },
}
SCSS
$custom: #31b7a5;
$custom-light: #7ecdbf;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7a5",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 165
  },
  "hsl": {
    "h": 171.94,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70508,
    "c": 0.11478,
    "h": 181.8
  },
  "luminance": 0.37237
}

Semantic roles & 50–950 ramp

primary
#31B7A5
secondary
#C87C86
accent
#475CE1
background
#F8FCFB
surface
#EFF9F7
border
#CAD2D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #31B7A5

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

Preview Lab → · Contrast checker → · Palette generator →

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