#31B187#31B187

#31B187 is a light, vivid teal. Relative luminance 0.338; OKLCH L 68.1% C 0.126 H 166.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#31B187
RGBrgb(49, 177, 135)
HSLhsl(160, 57%, 44%)
HSVhsv(160, 72%, 69%)
CMYKcmyk(72.3%, 0%, 23.7%, 30.6%)
CIE-LABlab(64.84, -44.46, 11.71)
CIE-LCHlch(64.84, 45.97, 165.25°)
OKLaboklab(68.12% -0.1228 0.0299)
OKLCHoklch(68.12% 0.126 166.3)
XYZxyz(21.3595, 33.8440, 28.3238)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B187 #B1315B
analogous
#31B147 #31B187 #319BB1
triadic
#31B187 #8731B1 #B18731
tetradic
#31B187 #4731B1 #B1315B #9BB131
square
#31B187 #4731B1 #B1315B #9BB131
split-complementary
#31B187 #B1319B #B14731
monochromatic
#16513E #248162 #31B187 #51CFA5 #80DCBE

Accessibility & contrast

On white

2.70
#31B187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#31B187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B187
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B187#FFFFFF#000000##000000
##31B1871.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA485
Deuteranopia (green-blind)
#9C988A
Tritanopia (blue-blind)
#00B2A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b187;
/* rgb */ color: rgb(49, 177, 135);
/* oklch */ color: oklch(68.1% 0.126 166.3);
Tailwind
colors: {
  custom: {
    50: '#7bc9aa',
    500: '#31b187',
    950: '#000000',
  },
}
SCSS
$custom: #31b187;
$custom-light: #7bc9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b187",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 135
  },
  "hsl": {
    "h": 160.313,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68124,
    "c": 0.12644,
    "h": 166.3
  },
  "luminance": 0.33847
}

Semantic roles & 50–950 ramp

primary
#31B187
secondary
#C57992
accent
#487AE0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B187

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

Preview Lab → · Contrast checker → · Palette generator →

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