#31B581#31B581

#31B581 is a light, vivid teal. Relative luminance 0.353; OKLCH L 69.0% C 0.136 H 162.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#31B581
RGBrgb(49, 181, 129)
HSLhsl(156, 57%, 45%)
HSVhsv(156, 73%, 71%)
CMYKcmyk(72.9%, 0%, 28.7%, 29%)
CIE-LABlab(65.97, -47.48, 16.57)
CIE-LCHlch(65.97, 50.29, 160.77°)
OKLaboklab(69.01% -0.1298 0.0422)
OKLCHoklch(69.01% 0.136 162)
XYZxyz(21.7506, 35.2832, 26.4286)
Luminance0.3529 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B581 #B53165
analogous
#31B53F #31B581 #31A7B5
triadic
#31B581 #8131B5 #B58131
tetradic
#31B581 #3F31B5 #B53165 #A7B531
square
#31B581 #3F31B5 #B53165 #A7B531
split-complementary
#31B581 #B531A7 #B53F31
monochromatic
#17553C #24855F #31B581 #53D09F #83DDBA

Accessibility & contrast

On white

2.61
#31B581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#31B581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B581
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B581#FFFFFF#000000##000000
##31B5811.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A77E
Deuteranopia (green-blind)
#A29B84
Tritanopia (blue-blind)
#00B5A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b581;
/* rgb */ color: rgb(49, 181, 129);
/* oklch */ color: oklch(69.0% 0.136 162.0);
Tailwind
colors: {
  custom: {
    50: '#7ccca5',
    500: '#31b581',
    950: '#000000',
  },
}
SCSS
$custom: #31b581;
$custom-light: #7ccca5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b581",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 129
  },
  "hsl": {
    "h": 156.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69009,
    "c": 0.13645,
    "h": 162
  },
  "luminance": 0.35286
}

Semantic roles & 50–950 ramp

primary
#31B581
secondary
#C77B99
accent
#4784E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B581

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

Preview Lab → · Contrast checker → · Palette generator →

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