#31BA8B#31BA8B

#31BA8B is a light, vivid teal. Relative luminance 0.376; OKLCH L 70.5% C 0.135 H 165.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#31BA8B
RGBrgb(49, 186, 139)
HSLhsl(159, 58%, 46%)
HSVhsv(159, 74%, 73%)
CMYKcmyk(73.7%, 0%, 25.3%, 27.1%)
CIE-LABlab(67.75, -47.24, 13.61)
CIE-LCHlch(67.75, 49.16, 163.93°)
OKLaboklab(70.54% -0.13 0.0348)
OKLCHoklch(70.54% 0.135 165)
XYZxyz(23.4831, 37.6321, 30.4472)
Luminance0.3764 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA8B #BA3160
analogous
#31BA46 #31BA8B #31A4BA
triadic
#31BA8B #8B31BA #BA8B31
tetradic
#31BA8B #4631BA #BA3160 #A4BA31
square
#31BA8B #4631BA #BA3160 #A4BA31
split-complementary
#31BA8B #BA31A4 #BA4631
monochromatic
#175943 #248A67 #31BA8B #56D2A8 #86DFC1

Accessibility & contrast

On white

2.46
#31BA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#31BA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA8B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA8B#FFFFFF#000000##000000
##31BA8B1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AD88
Deuteranopia (green-blind)
#A5A08E
Tritanopia (blue-blind)
#00BAAD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31ba8b;
/* rgb */ color: rgb(49, 186, 139);
/* oklch */ color: oklch(70.5% 0.135 165.0);
Tailwind
colors: {
  custom: {
    50: '#7dd0ad',
    500: '#31ba8b',
    950: '#000000',
  },
}
SCSS
$custom: #31ba8b;
$custom-light: #7dd0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba8b",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 139
  },
  "hsl": {
    "h": 159.416,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70541,
    "c": 0.13459,
    "h": 165
  },
  "luminance": 0.37635
}

Semantic roles & 50–950 ramp

primary
#31BA8B
secondary
#C97E98
accent
#467CE2
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31BA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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