#31AB97#31AB97

#31AB97 is a light, moderate teal. Relative luminance 0.320; OKLCH L 67.0% C 0.109 H 179.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#31AB97
RGBrgb(49, 171, 151)
HSLhsl(170, 55%, 43%)
HSVhsv(170, 71%, 67%)
CMYKcmyk(71.3%, 0%, 11.7%, 32.9%)
CIE-LABlab(63.35, -37.79, 0.70)
CIE-LCHlch(63.35, 37.80, 178.94°)
OKLaboklab(67.04% -0.109 0.0012)
OKLCHoklch(67.04% 0.109 179.3)
XYZxyz(21.4127, 32.0107, 34.3223)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB97 #AB3145
analogous
#31AB5A #31AB97 #3182AB
triadic
#31AB97 #9731AB #AB9731
tetradic
#31AB97 #5A31AB #AB3145 #82AB31
square
#31AB97 #5A31AB #AB3145 #82AB31
split-complementary
#31AB97 #AB3182 #AB5A31
monochromatic
#164C43 #237B6D #31AB97 #4DCCB7 #7DDACA

Accessibility & contrast

On white

2.84
#31AB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#31AB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB97
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB97#FFFFFF#000000##000000
##31AB971.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A196
Deuteranopia (green-blind)
#939499
Tritanopia (blue-blind)
#00AEA5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ab97;
/* rgb */ color: rgb(49, 171, 151);
/* oklch */ color: oklch(67.0% 0.109 179.3);
Tailwind
colors: {
  custom: {
    50: '#7bc4b5',
    500: '#31ab97',
    950: '#000000',
  },
}
SCSS
$custom: #31ab97;
$custom-light: #7bc4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab97",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 151
  },
  "hsl": {
    "h": 170.164,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.10906,
    "h": 179.3
  },
  "luminance": 0.32013
}

Semantic roles & 50–950 ramp

primary
#31AB97
secondary
#C27582
accent
#4962DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB97

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

Preview Lab → · Contrast checker → · Palette generator →

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