#31B888#31B888

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

Color values

HEX#31B888
RGBrgb(49, 184, 136)
HSLhsl(159, 58%, 46%)
HSVhsv(159, 73%, 72%)
CMYKcmyk(73.4%, 0%, 26.1%, 27.8%)
CIE-LABlab(67.06, -47.12, 14.27)
CIE-LCHlch(67.06, 49.23, 163.15°)
OKLaboklab(69.95% -0.1295 0.0364)
OKLCHoklch(69.95% 0.134 164.3)
XYZxyz(22.8485, 36.7088, 29.1691)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B888 #B83161
analogous
#31B845 #31B888 #31A4B8
triadic
#31B888 #8831B8 #B88831
tetradic
#31B888 #4531B8 #B83161 #A4B831
square
#31B888 #4531B8 #B83161 #A4B831
split-complementary
#31B888 #B831A4 #B84531
monochromatic
#175741 #248864 #31B888 #55D2A5 #85DEBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B888#FFFFFF#000000##000000
##31B8881.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)
#B4AB85
Deuteranopia (green-blind)
#A39E8B
Tritanopia (blue-blind)
#00B8AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b888;
/* rgb */ color: rgb(49, 184, 136);
/* oklch */ color: oklch(70.0% 0.134 164.3);
Tailwind
colors: {
  custom: {
    50: '#7dceaa',
    500: '#31b888',
    950: '#000000',
  },
}
SCSS
$custom: #31b888;
$custom-light: #7dceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b888",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 136
  },
  "hsl": {
    "h": 158.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.13449,
    "h": 164.3
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B888

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

Preview Lab → · Contrast checker → · Palette generator →

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