#31A580#31A580

#31A580 is a light, moderate teal. Relative luminance 0.291; OKLCH L 64.8% C 0.117 H 167.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A580
RGBrgb(49, 165, 128)
HSLhsl(161, 54%, 42%)
HSVhsv(161, 70%, 65%)
CMYKcmyk(70.3%, 0%, 22.4%, 35.3%)
CIE-LABlab(60.89, -41.04, 10.00)
CIE-LCHlch(60.89, 42.24, 166.30°)
OKLaboklab(64.83% -0.1138 0.0256)
OKLCHoklch(64.83% 0.117 167.3)
XYZxyz(18.6160, 29.1196, 25.0574)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A580 #A53156
analogous
#31A546 #31A580 #3190A5
triadic
#31A580 #8031A5 #A58031
tetradic
#31A580 #4631A5 #A53156 #90A531
square
#31A580 #4631A5 #A53156 #90A531
split-complementary
#31A580 #A53190 #A54631
monochromatic
#154737 #23765B #31A580 #4AC9A1 #79D7B9

Accessibility & contrast

On white

3.08
#31A580 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A580 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A580
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A580#FFFFFF#000000##000000
##31A5801.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1997E
Deuteranopia (green-blind)
#928E82
Tritanopia (blue-blind)
#00A69B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a580;
/* rgb */ color: rgb(49, 165, 128);
/* oklch */ color: oklch(64.8% 0.117 167.3);
Tailwind
colors: {
  custom: {
    50: '#79c0a4',
    500: '#31a580',
    950: '#000000',
  },
}
SCSS
$custom: #31a580;
$custom-light: #79c0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a580",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 128
  },
  "hsl": {
    "h": 160.862,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64833,
    "c": 0.11667,
    "h": 167.3
  },
  "luminance": 0.29122
}

Semantic roles & 50–950 ramp

primary
#31A580
secondary
#C0728B
accent
#4A79DE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A580

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

Preview Lab → · Contrast checker → · Palette generator →

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