#31AB96#31AB96

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

Color values

HEX#31AB96
RGBrgb(49, 171, 150)
HSLhsl(170, 55%, 43%)
HSVhsv(170, 71%, 67%)
CMYKcmyk(71.3%, 0%, 12.3%, 32.9%)
CIE-LABlab(63.32, -38.06, 1.22)
CIE-LCHlch(63.32, 38.08, 178.17°)
OKLaboklab(67.01% -0.1095 0.0026)
OKLCHoklch(67.01% 0.11 178.6)
XYZxyz(21.3318, 31.9783, 33.8964)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB96 #AB3146
analogous
#31AB59 #31AB96 #3183AB
triadic
#31AB96 #9631AB #AB9631
tetradic
#31AB96 #5931AB #AB3146 #83AB31
square
#31AB96 #5931AB #AB3146 #83AB31
split-complementary
#31AB96 #AB3183 #AB5931
monochromatic
#164C43 #237B6C #31AB96 #4DCCB6 #7DDACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB96#FFFFFF#000000##000000
##31AB961.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)
#A4A195
Deuteranopia (green-blind)
#939498
Tritanopia (blue-blind)
#00AEA5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ab96;
/* rgb */ color: rgb(49, 171, 150);
/* oklch */ color: oklch(67.0% 0.110 178.6);
Tailwind
colors: {
  custom: {
    50: '#7bc4b4',
    500: '#31ab96',
    950: '#000000',
  },
}
SCSS
$custom: #31ab96;
$custom-light: #7bc4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab96",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 150
  },
  "hsl": {
    "h": 169.672,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.10955,
    "h": 178.6
  },
  "luminance": 0.31981
}

Semantic roles & 50–950 ramp

primary
#31AB96
secondary
#C27583
accent
#4963DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB96

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

Preview Lab → · Contrast checker → · Palette generator →

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