#31A997#31A997

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

Color values

HEX#31A997
RGBrgb(49, 169, 151)
HSLhsl(171, 55%, 43%)
HSVhsv(171, 71%, 66%)
CMYKcmyk(71%, 0%, 10.7%, 33.7%)
CIE-LABlab(62.73, -36.89, -0.21)
CIE-LCHlch(62.73, 36.89, 180.33°)
OKLaboklab(66.53% -0.107 -0.0012)
OKLCHoklch(66.53% 0.107 180.6)
XYZxyz(21.0378, 31.2608, 34.1973)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A997 #A93143
analogous
#31A95B #31A997 #317FA9
triadic
#31A997 #9731A9 #A99731
tetradic
#31A997 #5B31A9 #A93143 #7FA931
square
#31A997 #5B31A9 #A93143 #7FA931
split-complementary
#31A997 #A9317F #A95B31
monochromatic
#154A42 #237A6D #31A997 #4CCBB8 #7CD9CB

Accessibility & contrast

On white

2.90
#31A997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#31A997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A997
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A997#FFFFFF#000000##000000
##31A9971.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29F96
Deuteranopia (green-blind)
#919399
Tritanopia (blue-blind)
#00ACA3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a997;
/* rgb */ color: rgb(49, 169, 151);
/* oklch */ color: oklch(66.5% 0.107 180.6);
Tailwind
colors: {
  custom: {
    50: '#7bc3b5',
    500: '#31a997',
    950: '#000000',
  },
}
SCSS
$custom: #31a997;
$custom-light: #7bc3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#31a997",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 151
  },
  "hsl": {
    "h": 171,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.10699,
    "h": 180.6
  },
  "luminance": 0.31263
}

Semantic roles & 50–950 ramp

primary
#31A997
secondary
#C17480
accent
#4960DE
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A997

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

Preview Lab → · Contrast checker → · Palette generator →

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