#31B87A#31B87A

#31B87A is a light, vivid teal. Relative luminance 0.363; OKLCH L 69.6% C 0.146 H 158.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#31B87A
RGBrgb(49, 184, 122)
HSLhsl(152, 58%, 46%)
HSVhsv(152, 73%, 72%)
CMYKcmyk(73.4%, 0%, 33.7%, 27.8%)
CIE-LABlab(66.78, -50.18, 21.46)
CIE-LCHlch(66.78, 54.58, 156.85°)
OKLaboklab(69.63% -0.1361 0.0541)
OKLCHoklch(69.63% 0.146 158.3)
XYZxyz(21.9178, 36.3365, 24.2671)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B87A #B8316F
analogous
#31B836 #31B87A #31B3B8
triadic
#31B87A #7A31B8 #B87A31
tetradic
#31B87A #3631B8 #B8316F #B3B831
square
#31B87A #3631B8 #B8316F #B3B831
split-complementary
#31B87A #B831B3 #B83631
monochromatic
#17573A #24885A #31B87A #55D298 #85DEB5

Accessibility & contrast

On white

2.54
#31B87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#31B87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B87A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B87A#FFFFFF#000000##000000
##31B87A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA76
Deuteranopia (green-blind)
#A69E7E
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b87a;
/* rgb */ color: rgb(49, 184, 122);
/* oklch */ color: oklch(69.6% 0.146 158.3);
Tailwind
colors: {
  custom: {
    50: '#7ccea0',
    500: '#31b87a',
    950: '#000000',
  },
}
SCSS
$custom: #31b87a;
$custom-light: #7ccea0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b87a",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 122
  },
  "hsl": {
    "h": 152.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.14649,
    "h": 158.3
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

primary
#31B87A
secondary
#C87D9F
accent
#478EE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140F
muted
#7C827E

Preview Lab

Preview with #31B87A

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

Preview Lab → · Contrast checker → · Palette generator →

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