#31B580#31B580

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

Color values

HEX#31B580
RGBrgb(49, 181, 128)
HSLhsl(156, 57%, 45%)
HSVhsv(156, 73%, 71%)
CMYKcmyk(72.9%, 0%, 29.3%, 29%)
CIE-LABlab(65.95, -47.70, 17.08)
CIE-LCHlch(65.95, 50.67, 160.30°)
OKLaboklab(68.99% -0.1303 0.0434)
OKLCHoklch(68.99% 0.137 161.6)
XYZxyz(21.6845, 35.2567, 26.0803)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B580 #B53166
analogous
#31B53E #31B580 #31A8B5
triadic
#31B580 #8031B5 #B58031
tetradic
#31B580 #3E31B5 #B53166 #A8B531
square
#31B580 #3E31B5 #B53166 #A8B531
split-complementary
#31B580 #B531A8 #B53E31
monochromatic
#17553C #24855E #31B580 #53D09E #83DDB9

Accessibility & contrast

On white

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

On black

8.05
#31B580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B580
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B580#FFFFFF#000000##000000
##31B5801.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b580;
/* rgb */ color: rgb(49, 181, 128);
/* oklch */ color: oklch(69.0% 0.137 161.6);
Tailwind
colors: {
  custom: {
    50: '#7ccca5',
    500: '#31b580',
    950: '#000000',
  },
}
SCSS
$custom: #31b580;
$custom-light: #7ccca5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b580",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 128
  },
  "hsl": {
    "h": 155.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68986,
    "c": 0.13731,
    "h": 161.6
  },
  "luminance": 0.35259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B580

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

Preview Lab → · Contrast checker → · Palette generator →

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