#31AB9A#31AB9A

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

Color values

HEX#31AB9A
RGBrgb(49, 171, 154)
HSLhsl(172, 55%, 43%)
HSVhsv(172, 71%, 67%)
CMYKcmyk(71.3%, 0%, 9.9%, 32.9%)
CIE-LABlab(63.43, -36.98, -0.86)
CIE-LCHlch(63.43, 36.99, 181.33°)
OKLaboklab(67.13% -0.1076 -0.0029)
OKLCHoklch(67.13% 0.108 181.5)
XYZxyz(21.6594, 32.1094, 35.6218)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB9A #AB3142
analogous
#31AB5D #31AB9A #317FAB
triadic
#31AB9A #9A31AB #AB9A31
tetradic
#31AB9A #5D31AB #AB3142 #7FAB31
square
#31AB9A #5D31AB #AB3142 #7FAB31
split-complementary
#31AB9A #AB317F #AB5D31
monochromatic
#164C44 #237B6F #31AB9A #4DCCBA #7DDACD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB9A#FFFFFF#000000##000000
##31AB9A1.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)
#A3A199
Deuteranopia (green-blind)
#92949C
Tritanopia (blue-blind)
#00AEA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ab9a;
/* rgb */ color: rgb(49, 171, 154);
/* oklch */ color: oklch(67.1% 0.108 181.5);
Tailwind
colors: {
  custom: {
    50: '#7bc4b7',
    500: '#31ab9a',
    950: '#000000',
  },
}
SCSS
$custom: #31ab9a;
$custom-light: #7bc4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab9a",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 154
  },
  "hsl": {
    "h": 171.639,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67131,
    "c": 0.10768,
    "h": 181.5
  },
  "luminance": 0.32112
}

Semantic roles & 50–950 ramp

primary
#31AB9A
secondary
#C27580
accent
#495EDF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB9A

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

Preview Lab → · Contrast checker → · Palette generator →

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