#31A998#31A998

#31A998 is a light, moderate teal. Relative luminance 0.313; OKLCH L 66.6% C 0.107 H 181.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#31A998
RGBrgb(49, 169, 152)
HSLhsl(172, 55%, 43%)
HSVhsv(172, 71%, 66%)
CMYKcmyk(71%, 0%, 10.1%, 33.7%)
CIE-LABlab(62.75, -36.62, -0.73)
CIE-LCHlch(62.75, 36.62, 181.14°)
OKLaboklab(66.56% -0.1065 -0.0026)
OKLCHoklch(66.56% 0.107 181.4)
XYZxyz(21.1193, 31.2934, 34.6269)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A998 #A93142
analogous
#31A95C #31A998 #317EA9
triadic
#31A998 #9831A9 #A99831
tetradic
#31A998 #5C31A9 #A93142 #7EA931
square
#31A998 #5C31A9 #A93142 #7EA931
split-complementary
#31A998 #A9317E #A95C31
monochromatic
#154A43 #237A6D #31A998 #4CCBB9 #7CD9CC

Accessibility & contrast

On white

2.89
#31A998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#31A998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A998
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A998#FFFFFF#000000##000000
##31A9981.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19F97
Deuteranopia (green-blind)
#91939A
Tritanopia (blue-blind)
#00ACA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a998;
/* rgb */ color: rgb(49, 169, 152);
/* oklch */ color: oklch(66.6% 0.107 181.4);
Tailwind
colors: {
  custom: {
    50: '#7bc3b6',
    500: '#31a998',
    950: '#000000',
  },
}
SCSS
$custom: #31a998;
$custom-light: #7bc3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a998",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 152
  },
  "hsl": {
    "h": 171.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6656,
    "c": 0.10654,
    "h": 181.4
  },
  "luminance": 0.31296
}

Semantic roles & 50–950 ramp

primary
#31A998
secondary
#C1747F
accent
#495FDE
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A998

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

Preview Lab → · Contrast checker → · Palette generator →

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