#31AB98#31AB98

#31AB98 is a light, moderate teal. Relative luminance 0.320; OKLCH L 67.1% C 0.109 H 180.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#31AB98
RGBrgb(49, 171, 152)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 67%)
CMYKcmyk(71.3%, 0%, 11.1%, 32.9%)
CIE-LABlab(63.38, -37.52, 0.18)
CIE-LCHlch(63.38, 37.53, 179.72°)
OKLaboklab(67.07% -0.1086 -0.0001)
OKLCHoklch(67.07% 0.109 180.1)
XYZxyz(21.4943, 32.0433, 34.7518)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB98 #AB3144
analogous
#31AB5B #31AB98 #3181AB
triadic
#31AB98 #9831AB #AB9831
tetradic
#31AB98 #5B31AB #AB3144 #81AB31
square
#31AB98 #5B31AB #AB3144 #81AB31
split-complementary
#31AB98 #AB3181 #AB5B31
monochromatic
#164C43 #237B6E #31AB98 #4DCCB8 #7DDACB

Accessibility & contrast

On white

2.83
#31AB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#31AB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB98
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB98#FFFFFF#000000##000000
##31AB981.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A197
Deuteranopia (green-blind)
#93949A
Tritanopia (blue-blind)
#00AEA5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31ab98;
/* rgb */ color: rgb(49, 171, 152);
/* oklch */ color: oklch(67.1% 0.109 180.1);
Tailwind
colors: {
  custom: {
    50: '#7bc4b6',
    500: '#31ab98',
    950: '#000000',
  },
}
SCSS
$custom: #31ab98;
$custom-light: #7bc4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab98",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 152
  },
  "hsl": {
    "h": 170.656,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67069,
    "c": 0.10858,
    "h": 180.1
  },
  "luminance": 0.32046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AB98

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

Preview Lab → · Contrast checker → · Palette generator →

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