#31AA98#31AA98

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

Color values

HEX#31AA98
RGBrgb(49, 170, 152)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 67%)
CMYKcmyk(71.2%, 0%, 10.6%, 33.3%)
CIE-LABlab(63.07, -37.07, -0.28)
CIE-LCHlch(63.07, 37.07, 180.43°)
OKLaboklab(66.82% -0.1075 -0.0013)
OKLCHoklch(66.82% 0.108 180.7)
XYZxyz(21.3061, 31.6669, 34.6891)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA98 #AA3143
analogous
#31AA5B #31AA98 #3180AA
triadic
#31AA98 #9831AA #AA9831
tetradic
#31AA98 #5B31AA #AA3143 #80AA31
square
#31AA98 #5B31AA #AA3143 #80AA31
split-complementary
#31AA98 #AA3180 #AA5B31
monochromatic
#164B43 #237A6E #31AA98 #4DCCB9 #7CD9CB

Accessibility & contrast

On white

2.86
#31AA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA98#FFFFFF#000000##000000
##31AA981.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A097
Deuteranopia (green-blind)
#92939A
Tritanopia (blue-blind)
#00ADA4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31aa98;
/* rgb */ color: rgb(49, 170, 152);
/* oklch */ color: oklch(66.8% 0.108 180.7);
Tailwind
colors: {
  custom: {
    50: '#7bc4b6',
    500: '#31aa98',
    950: '#000000',
  },
}
SCSS
$custom: #31aa98;
$custom-light: #7bc4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa98",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 152
  },
  "hsl": {
    "h": 171.074,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.10756,
    "h": 180.7
  },
  "luminance": 0.31669
}

Semantic roles & 50–950 ramp

primary
#31AA98
secondary
#C27580
accent
#495FDF
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31AA98

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

Preview Lab → · Contrast checker → · Palette generator →

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