#31B997#31B997

#31B997 is a light, vivid teal. Relative luminance 0.376; OKLCH L 70.6% C 0.125 H 171.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#31B997
RGBrgb(49, 185, 151)
HSLhsl(165, 58%, 46%)
HSVhsv(165, 74%, 73%)
CMYKcmyk(73.5%, 0%, 18.4%, 27.5%)
CIE-LABlab(67.71, -43.93, 7.00)
CIE-LCHlch(67.71, 44.48, 170.95°)
OKLaboklab(70.6% -0.1233 0.0178)
OKLCHoklch(70.6% 0.125 171.8)
XYZxyz(24.1986, 37.5824, 35.2509)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B997 #B93153
analogous
#31B953 #31B997 #3197B9
triadic
#31B997 #9731B9 #B99731
tetradic
#31B997 #5331B9 #B93153 #97B931
square
#31B997 #5331B9 #B93153 #97B931
split-complementary
#31B997 #B93197 #B95331
monochromatic
#175848 #248970 #31B997 #55D2B3 #86DFC9

Accessibility & contrast

On white

2.47
#31B997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#31B997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B997
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B997#FFFFFF#000000##000000
##31B9971.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AD95
Deuteranopia (green-blind)
#A1A099
Tritanopia (blue-blind)
#00BBAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31b997;
/* rgb */ color: rgb(49, 185, 151);
/* oklch */ color: oklch(70.6% 0.125 171.8);
Tailwind
colors: {
  custom: {
    50: '#7dcfb5',
    500: '#31b997',
    950: '#000000',
  },
}
SCSS
$custom: #31b997;
$custom-light: #7dcfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b997",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 151
  },
  "hsl": {
    "h": 165,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70602,
    "c": 0.12459,
    "h": 171.8
  },
  "luminance": 0.37585
}

Semantic roles & 50–950 ramp

primary
#31B997
secondary
#C87D90
accent
#466DE1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1411
muted
#7C8280

Preview Lab

Preview with #31B997

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

Preview Lab → · Contrast checker → · Palette generator →

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