#31B986#31B986

#31B986 is a light, vivid teal. Relative luminance 0.371; OKLCH L 70.2% C 0.137 H 163.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#31B986
RGBrgb(49, 185, 134)
HSLhsl(158, 58%, 46%)
HSVhsv(158, 74%, 73%)
CMYKcmyk(73.5%, 0%, 27.6%, 27.5%)
CIE-LABlab(67.33, -47.98, 15.74)
CIE-LCHlch(67.33, 50.49, 161.84°)
OKLaboklab(70.16% -0.1314 0.0401)
OKLCHoklch(70.16% 0.137 163)
XYZxyz(22.9162, 37.0694, 28.4970)
Luminance0.3707 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B986 #B93164
analogous
#31B942 #31B986 #31A8B9
triadic
#31B986 #8631B9 #B98631
tetradic
#31B986 #4231B9 #B93164 #A8B931
square
#31B986 #4231B9 #B93164 #A8B931
split-complementary
#31B986 #B931A8 #B94231
monochromatic
#175840 #248963 #31B986 #55D2A3 #86DFBD

Accessibility & contrast

On white

2.50
#31B986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#31B986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B986
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B986#FFFFFF#000000##000000
##31B9861.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB83
Deuteranopia (green-blind)
#A59F89
Tritanopia (blue-blind)
#00B9AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b986;
/* rgb */ color: rgb(49, 185, 134);
/* oklch */ color: oklch(70.2% 0.137 163.0);
Tailwind
colors: {
  custom: {
    50: '#7dcfa9',
    500: '#31b986',
    950: '#000000',
  },
}
SCSS
$custom: #31b986;
$custom-light: #7dcfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b986",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 134
  },
  "hsl": {
    "h": 157.5,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.13739,
    "h": 163
  },
  "luminance": 0.37072
}

Semantic roles & 50–950 ramp

primary
#31B986
secondary
#C87D9A
accent
#4681E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B986

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

Preview Lab → · Contrast checker → · Palette generator →

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