#31AB99#31AB99

#31AB99 is a light, moderate teal. Relative luminance 0.321; OKLCH L 67.1% C 0.108 H 180.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#31AB99
RGBrgb(49, 171, 153)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 67%)
CMYKcmyk(71.3%, 0%, 10.5%, 32.9%)
CIE-LABlab(63.41, -37.25, -0.34)
CIE-LCHlch(63.41, 37.26, 180.52°)
OKLaboklab(67.1% -0.1081 -0.0015)
OKLCHoklch(67.1% 0.108 180.8)
XYZxyz(21.5765, 32.0762, 35.1850)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB99 #AB3143
analogous
#31AB5C #31AB99 #3180AB
triadic
#31AB99 #9931AB #AB9931
tetradic
#31AB99 #5C31AB #AB3143 #80AB31
square
#31AB99 #5C31AB #AB3143 #80AB31
split-complementary
#31AB99 #AB3180 #AB5C31
monochromatic
#164C44 #237B6E #31AB99 #4DCCB9 #7DDACC

Accessibility & contrast

On white

2.83
#31AB99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#31AB99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB99
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB99#FFFFFF#000000##000000
##31AB991.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A198
Deuteranopia (green-blind)
#92949B
Tritanopia (blue-blind)
#00AEA5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ab99;
/* rgb */ color: rgb(49, 171, 153);
/* oklch */ color: oklch(67.1% 0.108 180.8);
Tailwind
colors: {
  custom: {
    50: '#7bc4b7',
    500: '#31ab99',
    950: '#000000',
  },
}
SCSS
$custom: #31ab99;
$custom-light: #7bc4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab99",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 153
  },
  "hsl": {
    "h": 171.148,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.671,
    "c": 0.10812,
    "h": 180.8
  },
  "luminance": 0.32079
}

Semantic roles & 50–950 ramp

primary
#31AB99
secondary
#C27581
accent
#495FDF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB99

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

Preview Lab → · Contrast checker → · Palette generator →

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