#31AB9E#31AB9E

#31AB9E is a light, moderate teal. Relative luminance 0.322; OKLCH L 67.3% C 0.106 H 184.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#31AB9E
RGBrgb(49, 171, 158)
HSLhsl(174, 55%, 43%)
HSVhsv(174, 71%, 67%)
CMYKcmyk(71.3%, 0%, 7.6%, 32.9%)
CIE-LABlab(63.54, -35.88, -2.93)
CIE-LCHlch(63.54, 36.00, 184.66°)
OKLaboklab(67.26% -0.1058 -0.0085)
OKLCHoklch(67.26% 0.106 184.6)
XYZxyz(21.9982, 32.2448, 37.4056)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB9E #AB313E
analogous
#31AB61 #31AB9E #317BAB
triadic
#31AB9E #9E31AB #AB9E31
tetradic
#31AB9E #6131AB #AB313E #7BAB31
square
#31AB9E #6131AB #AB313E #7BAB31
split-complementary
#31AB9E #AB317B #AB6131
monochromatic
#164C46 #237B72 #31AB9E #4DCCBF #7DDAD0

Accessibility & contrast

On white

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

On black

7.45
#31AB9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB9E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB9E#FFFFFF#000000##000000
##31AB9E1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A19E
Deuteranopia (green-blind)
#91959F
Tritanopia (blue-blind)
#00AFA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ab9e;
/* rgb */ color: rgb(49, 171, 158);
/* oklch */ color: oklch(67.3% 0.106 184.6);
Tailwind
colors: {
  custom: {
    50: '#7bc4ba',
    500: '#31ab9e',
    950: '#000000',
  },
}
SCSS
$custom: #31ab9e;
$custom-light: #7bc4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab9e",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 158
  },
  "hsl": {
    "h": 173.607,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67259,
    "c": 0.10612,
    "h": 184.6
  },
  "luminance": 0.32247
}

Semantic roles & 50–950 ramp

primary
#31AB9E
secondary
#C2757E
accent
#4959DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB9E

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

Preview Lab → · Contrast checker → · Palette generator →

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