#31AB9F#31AB9F

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

Color values

HEX#31AB9F
RGBrgb(49, 171, 159)
HSLhsl(174, 55%, 43%)
HSVhsv(174, 71%, 67%)
CMYKcmyk(71.3%, 0%, 7%, 32.9%)
CIE-LABlab(63.57, -35.60, -3.44)
CIE-LCHlch(63.57, 35.77, 185.53°)
OKLaboklab(67.29% -0.1053 -0.0099)
OKLCHoklch(67.29% 0.106 185.4)
XYZxyz(22.0846, 32.2794, 37.8608)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB9F #AB313D
analogous
#31AB62 #31AB9F #317AAB
triadic
#31AB9F #9F31AB #AB9F31
tetradic
#31AB9F #6231AB #AB313D #7AAB31
square
#31AB9F #6231AB #AB313D #7AAB31
split-complementary
#31AB9F #AB317A #AB6231
monochromatic
#164C47 #237B73 #31AB9F #4DCCC0 #7DDAD1

Accessibility & contrast

On white

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

On black

7.46
#31AB9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB9F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB9F#FFFFFF#000000##000000
##31AB9F1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A19F
Deuteranopia (green-blind)
#9195A0
Tritanopia (blue-blind)
#00AFA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ab9f;
/* rgb */ color: rgb(49, 171, 159);
/* oklch */ color: oklch(67.3% 0.106 185.4);
Tailwind
colors: {
  custom: {
    50: '#7cc4bb',
    500: '#31ab9f',
    950: '#000000',
  },
}
SCSS
$custom: #31ab9f;
$custom-light: #7cc4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab9f",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 159
  },
  "hsl": {
    "h": 174.098,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.10578,
    "h": 185.4
  },
  "luminance": 0.32282
}

Semantic roles & 50–950 ramp

primary
#31AB9F
secondary
#C2757D
accent
#4958DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AB9F

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

Preview Lab → · Contrast checker → · Palette generator →

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