#31AC97#31AC97

#31AC97 is a light, moderate teal. Relative luminance 0.324; OKLCH L 67.3% C 0.110 H 178.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#31AC97
RGBrgb(49, 172, 151)
HSLhsl(170, 56%, 43%)
HSVhsv(170, 72%, 67%)
CMYKcmyk(71.5%, 0%, 12.2%, 32.5%)
CIE-LABlab(63.66, -38.24, 1.15)
CIE-LCHlch(63.66, 38.26, 178.27°)
OKLaboklab(67.29% -0.1101 0.0025)
OKLCHoklch(67.29% 0.11 178.7)
XYZxyz(21.6023, 32.3899, 34.3855)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC97 #AC3146
analogous
#31AC59 #31AC97 #3183AC
triadic
#31AC97 #9731AC #AC9731
tetradic
#31AC97 #5931AC #AC3146 #83AC31
square
#31AC97 #5931AC #AC3146 #83AC31
split-complementary
#31AC97 #AC3183 #AC5931
monochromatic
#164D43 #237C6D #31AC97 #4ECCB7 #7DDACA

Accessibility & contrast

On white

2.81
#31AC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#31AC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC97
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC97#FFFFFF#000000##000000
##31AC971.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A196
Deuteranopia (green-blind)
#949599
Tritanopia (blue-blind)
#00AFA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31ac97;
/* rgb */ color: rgb(49, 172, 151);
/* oklch */ color: oklch(67.3% 0.110 178.7);
Tailwind
colors: {
  custom: {
    50: '#7bc5b5',
    500: '#31ac97',
    950: '#000000',
  },
}
SCSS
$custom: #31ac97;
$custom-light: #7bc5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac97",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 151
  },
  "hsl": {
    "h": 169.756,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67293,
    "c": 0.11011,
    "h": 178.7
  },
  "luminance": 0.32392
}

Semantic roles & 50–950 ramp

primary
#31AC97
secondary
#C37683
accent
#4962DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AC97

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

Preview Lab → · Contrast checker → · Palette generator →

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