#31A799#31A799

#31A799 is a light, moderate teal. Relative luminance 0.306; OKLCH L 66.1% C 0.104 H 183.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#31A799
RGBrgb(49, 167, 153)
HSLhsl(173, 55%, 42%)
HSVhsv(173, 71%, 65%)
CMYKcmyk(70.7%, 0%, 8.4%, 34.5%)
CIE-LABlab(62.16, -35.42, -2.17)
CIE-LCHlch(62.16, 35.49, 183.50°)
OKLaboklab(66.08% -0.104 -0.0064)
OKLCHoklch(66.08% 0.104 183.5)
XYZxyz(20.8324, 30.5879, 34.9369)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A799 #A7313F
analogous
#31A75E #31A799 #317AA7
triadic
#31A799 #9931A7 #A79931
tetradic
#31A799 #5E31A7 #A7313F #7AA731
square
#31A799 #5E31A7 #A7313F #7AA731
split-complementary
#31A799 #A7317A #A75E31
monochromatic
#154842 #23786E #31A799 #4BCABB #7AD8CD

Accessibility & contrast

On white

2.95
#31A799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#31A799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A799
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A799#FFFFFF#000000##000000
##31A7991.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9D99
Deuteranopia (green-blind)
#8E919A
Tritanopia (blue-blind)
#00AAA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a799;
/* rgb */ color: rgb(49, 167, 153);
/* oklch */ color: oklch(66.1% 0.104 183.5);
Tailwind
colors: {
  custom: {
    50: '#7bc2b7',
    500: '#31a799',
    950: '#000000',
  },
}
SCSS
$custom: #31a799;
$custom-light: #7bc2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31a799",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 153
  },
  "hsl": {
    "h": 172.881,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66083,
    "c": 0.10418,
    "h": 183.5
  },
  "luminance": 0.3059
}

Semantic roles & 50–950 ramp

primary
#31A799
secondary
#C1737C
accent
#4A5BDE
background
#F8FBFB
surface
#EFF7F6
border
#CAD0D0
text
#0B1211
muted
#7C8180

Preview Lab

Preview with #31A799

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

Preview Lab → · Contrast checker → · Palette generator →

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