#31B17D#31B17D

#31B17D is a light, vivid teal. Relative luminance 0.336; OKLCH L 67.9% C 0.135 H 161.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B17D
RGBrgb(49, 177, 125)
HSLhsl(156, 57%, 44%)
HSVhsv(156, 72%, 69%)
CMYKcmyk(72.3%, 0%, 29.4%, 30.6%)
CIE-LABlab(64.62, -46.75, 16.89)
CIE-LCHlch(64.62, 49.71, 160.14°)
OKLaboklab(67.88% -0.1277 0.0429)
OKLCHoklch(67.88% 0.135 161.4)
XYZxyz(20.6883, 33.5755, 24.7885)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B17D #B13165
analogous
#31B13D #31B17D #31A5B1
triadic
#31B17D #7D31B1 #B17D31
tetradic
#31B17D #3D31B1 #B13165 #A5B131
square
#31B17D #3D31B1 #B13165 #A5B131
split-complementary
#31B17D #B131A5 #B13D31
monochromatic
#165139 #24815B #31B17D #51CF9B #80DCB7

Accessibility & contrast

On white

2.72
#31B17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B17D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B17D#FFFFFF#000000##000000
##31B17D1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47A
Deuteranopia (green-blind)
#9E9880
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b17d;
/* rgb */ color: rgb(49, 177, 125);
/* oklch */ color: oklch(67.9% 0.135 161.4);
Tailwind
colors: {
  custom: {
    50: '#7bc9a2',
    500: '#31b17d',
    950: '#000000',
  },
}
SCSS
$custom: #31b17d;
$custom-light: #7bc9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b17d",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 125
  },
  "hsl": {
    "h": 155.625,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67877,
    "c": 0.13467,
    "h": 161.4
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#31B17D
secondary
#C57998
accent
#4886E0
background
#F8FCFA
surface
#EFF8F3
border
#CAD1CD
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B17D

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

Preview Lab → · Contrast checker → · Palette generator →

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