#31A79B#31A79B

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

Color values

HEX#31A79B
RGBrgb(49, 167, 155)
HSLhsl(174, 55%, 42%)
HSVhsv(174, 71%, 65%)
CMYKcmyk(70.7%, 0%, 7.2%, 34.5%)
CIE-LABlab(62.21, -34.87, -3.20)
CIE-LCHlch(62.21, 35.01, 185.25°)
OKLaboklab(66.15% -0.103 -0.0092)
OKLCHoklch(66.15% 0.103 185.1)
XYZxyz(20.9989, 30.6545, 35.8142)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A79B #A7313D
analogous
#31A760 #31A79B #3178A7
triadic
#31A79B #9B31A7 #A79B31
tetradic
#31A79B #6031A7 #A7313D #78A731
square
#31A79B #6031A7 #A7313D #78A731
split-complementary
#31A79B #A73178 #A76031
monochromatic
#154843 #23786F #31A79B #4BCABD #7AD8CF

Accessibility & contrast

On white

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

On black

7.13
#31A79B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A79B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A79B#FFFFFF#000000##000000
##31A79B1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a79b;
/* rgb */ color: rgb(49, 167, 155);
/* oklch */ color: oklch(66.1% 0.103 185.1);
Tailwind
colors: {
  custom: {
    50: '#7bc2b8',
    500: '#31a79b',
    950: '#000000',
  },
}
SCSS
$custom: #31a79b;
$custom-light: #7bc2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a79b",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 155
  },
  "hsl": {
    "h": 173.898,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.10345,
    "h": 185.1
  },
  "luminance": 0.30657
}

Semantic roles & 50–950 ramp

primary
#31A79B
secondary
#C1737B
accent
#4A59DE
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A79B

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

Preview Lab → · Contrast checker → · Palette generator →

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