#31A79C#31A79C

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

Color values

HEX#31A79C
RGBrgb(49, 167, 156)
HSLhsl(174, 55%, 42%)
HSVhsv(174, 71%, 65%)
CMYKcmyk(70.7%, 0%, 6.6%, 34.5%)
CIE-LABlab(62.24, -34.59, -3.72)
CIE-LCHlch(62.24, 34.79, 186.15°)
OKLaboklab(66.18% -0.1026 -0.0106)
OKLCHoklch(66.18% 0.103 185.9)
XYZxyz(21.0833, 30.6882, 36.2583)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A79C #A7313C
analogous
#31A761 #31A79C #3177A7
triadic
#31A79C #9C31A7 #A79C31
tetradic
#31A79C #6131A7 #A7313C #77A731
square
#31A79C #6131A7 #A7313C #77A731
split-complementary
#31A79C #A73177 #A76131
monochromatic
#154844 #237870 #31A79C #4BCABE #7AD8CF

Accessibility & contrast

On white

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

On black

7.14
#31A79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A79C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A79C#FFFFFF#000000##000000
##31A79C1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9E9C
Deuteranopia (green-blind)
#8D919D
Tritanopia (blue-blind)
#00ABA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a79c;
/* rgb */ color: rgb(49, 167, 156);
/* oklch */ color: oklch(66.2% 0.103 185.9);
Tailwind
colors: {
  custom: {
    50: '#7bc1b9',
    500: '#31a79c',
    950: '#000000',
  },
}
SCSS
$custom: #31a79c;
$custom-light: #7bc1b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a79c",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 156
  },
  "hsl": {
    "h": 174.407,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.10313,
    "h": 185.9
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A79C

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

Preview Lab → · Contrast checker → · Palette generator →

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