#31B87E#31B87E

#31B87E is a light, vivid teal. Relative luminance 0.364; OKLCH L 69.7% C 0.143 H 159.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#31B87E
RGBrgb(49, 184, 126)
HSLhsl(154, 58%, 46%)
HSVhsv(154, 73%, 72%)
CMYKcmyk(73.4%, 0%, 31.5%, 27.8%)
CIE-LABlab(66.85, -49.34, 19.41)
CIE-LCHlch(66.85, 53.02, 158.52°)
OKLaboklab(69.72% -0.1342 0.0492)
OKLCHoklch(69.72% 0.143 159.9)
XYZxyz(22.1707, 36.4377, 25.5993)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B87E #B8316B
analogous
#31B83A #31B87E #31AEB8
triadic
#31B87E #7E31B8 #B87E31
tetradic
#31B87E #3A31B8 #B8316B #AEB831
square
#31B87E #3A31B8 #B8316B #AEB831
split-complementary
#31B87E #B831AE #B83A31
monochromatic
#17573C #24885D #31B87E #55D29C #85DEB8

Accessibility & contrast

On white

2.53
#31B87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#31B87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B87E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B87E#FFFFFF#000000##000000
##31B87E1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7A
Deuteranopia (green-blind)
#A59E82
Tritanopia (blue-blind)
#00B7A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b87e;
/* rgb */ color: rgb(49, 184, 126);
/* oklch */ color: oklch(69.7% 0.143 159.9);
Tailwind
colors: {
  custom: {
    50: '#7ccea3',
    500: '#31b87e',
    950: '#000000',
  },
}
SCSS
$custom: #31b87e;
$custom-light: #7ccea3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b87e",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 126
  },
  "hsl": {
    "h": 154.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69717,
    "c": 0.14294,
    "h": 159.9
  },
  "luminance": 0.3644
}

Semantic roles & 50–950 ramp

primary
#31B87E
secondary
#C87D9D
accent
#4789E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B87E

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

Preview Lab → · Contrast checker → · Palette generator →

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