#31B887#31B887

#31B887 is a light, vivid teal. Relative luminance 0.367; OKLCH L 69.9% C 0.135 H 163.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#31B887
RGBrgb(49, 184, 135)
HSLhsl(158, 58%, 46%)
HSVhsv(158, 73%, 72%)
CMYKcmyk(73.4%, 0%, 26.6%, 27.8%)
CIE-LABlab(67.04, -47.35, 14.79)
CIE-LCHlch(67.04, 49.60, 162.65°)
OKLaboklab(69.93% -0.1299 0.0377)
OKLCHoklch(69.93% 0.135 163.8)
XYZxyz(22.7778, 36.6805, 28.7966)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B887 #B83162
analogous
#31B843 #31B887 #31A5B8
triadic
#31B887 #8731B8 #B88731
tetradic
#31B887 #4331B8 #B83162 #A5B831
square
#31B887 #4331B8 #B83162 #A5B831
split-complementary
#31B887 #B831A5 #B84331
monochromatic
#175740 #248864 #31B887 #55D2A4 #85DEBE

Accessibility & contrast

On white

2.52
#31B887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#31B887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B887
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B887#FFFFFF#000000##000000
##31B8871.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AA84
Deuteranopia (green-blind)
#A39E8A
Tritanopia (blue-blind)
#00B8AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b887;
/* rgb */ color: rgb(49, 184, 135);
/* oklch */ color: oklch(69.9% 0.135 163.8);
Tailwind
colors: {
  custom: {
    50: '#7dceaa',
    500: '#31b887',
    950: '#000000',
  },
}
SCSS
$custom: #31b887;
$custom-light: #7dceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b887",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 135
  },
  "hsl": {
    "h": 158.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69928,
    "c": 0.13529,
    "h": 163.8
  },
  "luminance": 0.36683
}

Semantic roles & 50–950 ramp

primary
#31B887
secondary
#C87D98
accent
#477FE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B887

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

Preview Lab → · Contrast checker → · Palette generator →

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