#31B787#31B787

#31B787 is a light, vivid teal. Relative luminance 0.363; OKLCH L 69.7% C 0.134 H 164.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#31B787
RGBrgb(49, 183, 135)
HSLhsl(159, 58%, 45%)
HSVhsv(159, 73%, 72%)
CMYKcmyk(73.2%, 0%, 26.2%, 28.2%)
CIE-LABlab(66.72, -46.94, 14.35)
CIE-LCHlch(66.72, 49.08, 163.00°)
OKLaboklab(69.67% -0.1289 0.0366)
OKLCHoklch(69.67% 0.134 164.1)
XYZxyz(22.5708, 36.2666, 28.7276)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B787 #B73161
analogous
#31B744 #31B787 #31A4B7
triadic
#31B787 #8731B7 #B78731
tetradic
#31B787 #4431B7 #B73161 #A4B731
square
#31B787 #4431B7 #B73161 #A4B731
split-complementary
#31B787 #B731A4 #B74431
monochromatic
#175640 #248763 #31B787 #54D1A4 #84DEBE

Accessibility & contrast

On white

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

On black

8.25
#31B787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B787
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B787#FFFFFF#000000##000000
##31B7871.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AA84
Deuteranopia (green-blind)
#A29D8A
Tritanopia (blue-blind)
#00B7AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b787;
/* rgb */ color: rgb(49, 183, 135);
/* oklch */ color: oklch(69.7% 0.134 164.1);
Tailwind
colors: {
  custom: {
    50: '#7ccdaa',
    500: '#31b787',
    950: '#000000',
  },
}
SCSS
$custom: #31b787;
$custom-light: #7ccdaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b787",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 135
  },
  "hsl": {
    "h": 158.507,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69671,
    "c": 0.13403,
    "h": 164.1
  },
  "luminance": 0.36269
}

Semantic roles & 50–950 ramp

primary
#31B787
secondary
#C87C97
accent
#477EE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B787

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

Preview Lab → · Contrast checker → · Palette generator →

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