#31AA97#31AA97

#31AA97 is a light, moderate teal. Relative luminance 0.316; OKLCH L 66.8% C 0.108 H 180.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#31AA97
RGBrgb(49, 170, 151)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 67%)
CMYKcmyk(71.2%, 0%, 11.2%, 33.3%)
CIE-LABlab(63.04, -37.34, 0.24)
CIE-LCHlch(63.04, 37.34, 179.63°)
OKLaboklab(66.78% -0.108 0)
OKLCHoklch(66.78% 0.108 180)
XYZxyz(21.2245, 31.6343, 34.2596)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA97 #AA3144
analogous
#31AA5B #31AA97 #3180AA
triadic
#31AA97 #9731AA #AA9731
tetradic
#31AA97 #5B31AA #AA3144 #80AA31
square
#31AA97 #5B31AA #AA3144 #80AA31
split-complementary
#31AA97 #AA3180 #AA5B31
monochromatic
#164B43 #237A6D #31AA97 #4DCCB8 #7CD9CB

Accessibility & contrast

On white

2.87
#31AA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#31AA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA97
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA97#FFFFFF#000000##000000
##31AA971.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A096
Deuteranopia (green-blind)
#929399
Tritanopia (blue-blind)
#00ADA4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31aa97;
/* rgb */ color: rgb(49, 170, 151);
/* oklch */ color: oklch(66.8% 0.108 180.0);
Tailwind
colors: {
  custom: {
    50: '#7bc4b5',
    500: '#31aa97',
    950: '#000000',
  },
}
SCSS
$custom: #31aa97;
$custom-light: #7bc4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa97",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 151
  },
  "hsl": {
    "h": 170.579,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.10802,
    "h": 180
  },
  "luminance": 0.31637
}

Semantic roles & 50–950 ramp

primary
#31AA97
secondary
#C27581
accent
#4961DF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AA97

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

Preview Lab → · Contrast checker → · Palette generator →

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