#31B579#31B579

#31B579 is a light, vivid teal. Relative luminance 0.351; OKLCH L 68.8% C 0.143 H 158.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#31B579
RGBrgb(49, 181, 121)
HSLhsl(153, 57%, 45%)
HSVhsv(153, 73%, 71%)
CMYKcmyk(72.9%, 0%, 33.1%, 29%)
CIE-LABlab(65.81, -49.21, 20.68)
CIE-LCHlch(65.81, 53.38, 157.21°)
OKLaboklab(68.83% -0.1336 0.0522)
OKLCHoklch(68.83% 0.143 158.6)
XYZxyz(21.2396, 35.0787, 23.7369)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B579 #B5316D
analogous
#31B537 #31B579 #31AFB5
triadic
#31B579 #7931B5 #B57931
tetradic
#31B579 #3731B5 #B5316D #AFB531
square
#31B579 #3731B5 #B5316D #AFB531
split-complementary
#31B579 #B531AF #B53731
monochromatic
#175539 #248559 #31B579 #53D097 #83DDB4

Accessibility & contrast

On white

2.62
#31B579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#31B579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B579
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B579#FFFFFF#000000##000000
##31B5791.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A775
Deuteranopia (green-blind)
#A39B7D
Tritanopia (blue-blind)
#00B4A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b579;
/* rgb */ color: rgb(49, 181, 121);
/* oklch */ color: oklch(68.8% 0.143 158.6);
Tailwind
colors: {
  custom: {
    50: '#7ccca0',
    500: '#31b579',
    950: '#000000',
  },
}
SCSS
$custom: #31b579;
$custom-light: #7ccca0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b579",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 121
  },
  "hsl": {
    "h": 152.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68826,
    "c": 0.14345,
    "h": 158.6
  },
  "luminance": 0.35081
}

Semantic roles & 50–950 ramp

primary
#31B579
secondary
#C77B9D
accent
#478DE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B579

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

Preview Lab → · Contrast checker → · Palette generator →

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