#31B587#31B587

#31B587 is a light, vivid teal. Relative luminance 0.354; OKLCH L 69.2% C 0.131 H 164.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#31B587
RGBrgb(49, 181, 135)
HSLhsl(159, 57%, 45%)
HSVhsv(159, 73%, 71%)
CMYKcmyk(72.9%, 0%, 25.4%, 29%)
CIE-LABlab(66.10, -46.12, 13.47)
CIE-LCHlch(66.10, 48.04, 163.72°)
OKLaboklab(69.16% -0.1269 0.0344)
OKLCHoklch(69.16% 0.131 164.8)
XYZxyz(22.1612, 35.4474, 28.5910)
Luminance0.3545 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B587 #B5315F
analogous
#31B545 #31B587 #31A1B5
triadic
#31B587 #8731B5 #B58731
tetradic
#31B587 #4531B5 #B5315F #A1B531
square
#31B587 #4531B5 #B5315F #A1B531
split-complementary
#31B587 #B531A1 #B54531
monochromatic
#17553F #248563 #31B587 #53D0A5 #83DDBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B587#FFFFFF#000000##000000
##31B5871.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)
#B1A884
Deuteranopia (green-blind)
#A09C8A
Tritanopia (blue-blind)
#00B5A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b587;
/* rgb */ color: rgb(49, 181, 135);
/* oklch */ color: oklch(69.2% 0.131 164.8);
Tailwind
colors: {
  custom: {
    50: '#7cccaa',
    500: '#31b587',
    950: '#000000',
  },
}
SCSS
$custom: #31b587;
$custom-light: #7cccaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b587",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 135
  },
  "hsl": {
    "h": 159.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69155,
    "c": 0.13149,
    "h": 164.8
  },
  "luminance": 0.3545
}

Semantic roles & 50–950 ramp

primary
#31B587
secondary
#C77B95
accent
#477DE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B587

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

Preview Lab → · Contrast checker → · Palette generator →

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