#31AB9C#31AB9C

#31AB9C is a light, moderate teal. Relative luminance 0.322; OKLCH L 67.2% C 0.107 H 183.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31AB9C
RGBrgb(49, 171, 156)
HSLhsl(173, 55%, 43%)
HSVhsv(173, 71%, 67%)
CMYKcmyk(71.3%, 0%, 8.8%, 32.9%)
CIE-LABlab(63.49, -36.43, -1.89)
CIE-LCHlch(63.49, 36.48, 182.97°)
OKLaboklab(67.2% -0.1067 -0.0057)
OKLCHoklch(67.2% 0.107 183.1)
XYZxyz(21.8274, 32.1765, 36.5064)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB9C #AB3140
analogous
#31AB5F #31AB9C #317DAB
triadic
#31AB9C #9C31AB #AB9C31
tetradic
#31AB9C #5F31AB #AB3140 #7DAB31
square
#31AB9C #5F31AB #AB3140 #7DAB31
split-complementary
#31AB9C #AB317D #AB5F31
monochromatic
#164C45 #237B71 #31AB9C #4DCCBC #7DDACE

Accessibility & contrast

On white

2.82
#31AB9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#31AB9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB9C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB9C#FFFFFF#000000##000000
##31AB9C1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A19B
Deuteranopia (green-blind)
#92949D
Tritanopia (blue-blind)
#00AEA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ab9c;
/* rgb */ color: rgb(49, 171, 156);
/* oklch */ color: oklch(67.2% 0.107 183.1);
Tailwind
colors: {
  custom: {
    50: '#7bc4b9',
    500: '#31ab9c',
    950: '#000000',
  },
}
SCSS
$custom: #31ab9c;
$custom-light: #7bc4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab9c",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 156
  },
  "hsl": {
    "h": 172.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67195,
    "c": 0.10686,
    "h": 183.1
  },
  "luminance": 0.32179
}

Semantic roles & 50–950 ramp

primary
#31AB9C
secondary
#C2757F
accent
#495BDF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB9C

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

Preview Lab → · Contrast checker → · Palette generator →

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