#31A579#31A579

#31A579 is a light, vivid teal. Relative luminance 0.289; OKLCH L 64.7% C 0.122 H 163.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#31A579
RGBrgb(49, 165, 121)
HSLhsl(157, 54%, 42%)
HSVhsv(157, 70%, 65%)
CMYKcmyk(70.3%, 0%, 26.7%, 35.3%)
CIE-LABlab(60.73, -42.70, 13.68)
CIE-LCHlch(60.73, 44.83, 162.24°)
OKLaboklab(64.65% -0.1172 0.0349)
OKLCHoklch(64.65% 0.122 163.4)
XYZxyz(18.1710, 28.9417, 22.7141)
Luminance0.2894 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A579 #A5315D
analogous
#31A53F #31A579 #3197A5
triadic
#31A579 #7931A5 #A57931
tetradic
#31A579 #3F31A5 #A5315D #97A531
square
#31A579 #3F31A5 #A5315D #97A531
split-complementary
#31A579 #A53197 #A53F31
monochromatic
#154734 #237656 #31A579 #4AC999 #79D7B4

Accessibility & contrast

On white

3.09
#31A579 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#31A579 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A579
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A579#FFFFFF#000000##000000
##31A5791.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29977
Deuteranopia (green-blind)
#938E7C
Tritanopia (blue-blind)
#00A599
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a579;
/* rgb */ color: rgb(49, 165, 121);
/* oklch */ color: oklch(64.7% 0.122 163.4);
Tailwind
colors: {
  custom: {
    50: '#79c09f',
    500: '#31a579',
    950: '#000000',
  },
}
SCSS
$custom: #31a579;
$custom-light: #79c09f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a579",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 121
  },
  "hsl": {
    "h": 157.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64652,
    "c": 0.12231,
    "h": 163.4
  },
  "luminance": 0.28944
}

Semantic roles & 50–950 ramp

primary
#31A579
secondary
#C07290
accent
#4A82DE
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A579

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

Preview Lab → · Contrast checker → · Palette generator →

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