#31B87B#31B87B

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

Color values

HEX#31B87B
RGBrgb(49, 184, 123)
HSLhsl(153, 58%, 46%)
HSVhsv(153, 73%, 72%)
CMYKcmyk(73.4%, 0%, 33.2%, 27.8%)
CIE-LABlab(66.80, -49.97, 20.95)
CIE-LCHlch(66.80, 54.19, 157.26°)
OKLaboklab(69.65% -0.1356 0.0529)
OKLCHoklch(69.65% 0.146 158.7)
XYZxyz(21.9801, 36.3614, 24.5951)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B87B #B8316E
analogous
#31B837 #31B87B #31B1B8
triadic
#31B87B #7B31B8 #B87B31
tetradic
#31B87B #3731B8 #B8316E #B1B831
square
#31B87B #3731B8 #B8316E #B1B831
split-complementary
#31B87B #B831B1 #B83731
monochromatic
#17573A #24885B #31B87B #55D299 #85DEB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B87B#FFFFFF#000000##000000
##31B87B1.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)
#B6AA77
Deuteranopia (green-blind)
#A59E7F
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b87b;
/* rgb */ color: rgb(49, 184, 123);
/* oklch */ color: oklch(69.7% 0.146 158.7);
Tailwind
colors: {
  custom: {
    50: '#7ccea1',
    500: '#31b87b',
    950: '#000000',
  },
}
SCSS
$custom: #31b87b;
$custom-light: #7ccea1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b87b",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 123
  },
  "hsl": {
    "h": 152.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6965,
    "c": 0.1456,
    "h": 158.7
  },
  "luminance": 0.36364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B87B

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

Preview Lab → · Contrast checker → · Palette generator →

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