#31A79D#31A79D

#31A79D is a light, moderate teal. Relative luminance 0.307; OKLCH L 66.2% C 0.103 H 186.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#31A79D
RGBrgb(49, 167, 157)
HSLhsl(175, 55%, 42%)
HSVhsv(175, 71%, 65%)
CMYKcmyk(70.7%, 0%, 6%, 34.5%)
CIE-LABlab(62.27, -34.30, -4.24)
CIE-LCHlch(62.27, 34.57, 187.05°)
OKLaboklab(66.21% -0.1021 -0.012)
OKLCHoklch(66.21% 0.103 186.7)
XYZxyz(21.1683, 30.7223, 36.7061)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A79D #A7313B
analogous
#31A762 #31A79D #3176A7
triadic
#31A79D #9D31A7 #A79D31
tetradic
#31A79D #6231A7 #A7313B #76A731
square
#31A79D #6231A7 #A7313B #76A731
split-complementary
#31A79D #A73176 #A76231
monochromatic
#154844 #237871 #31A79D #4BCABF #7AD8D0

Accessibility & contrast

On white

2.94
#31A79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#31A79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A79D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A79D#FFFFFF#000000##000000
##31A79D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9E9D
Deuteranopia (green-blind)
#8D919E
Tritanopia (blue-blind)
#00ABA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a79d;
/* rgb */ color: rgb(49, 167, 157);
/* oklch */ color: oklch(66.2% 0.103 186.7);
Tailwind
colors: {
  custom: {
    50: '#7bc1b9',
    500: '#31a79d',
    950: '#000000',
  },
}
SCSS
$custom: #31a79d;
$custom-light: #7bc1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a79d",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 157
  },
  "hsl": {
    "h": 174.915,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66214,
    "c": 0.10283,
    "h": 186.7
  },
  "luminance": 0.30725
}

Semantic roles & 50–950 ramp

primary
#31A79D
secondary
#C1737A
accent
#4A56DE
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A79D

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

Preview Lab → · Contrast checker → · Palette generator →

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