#31B879#31B879

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

Color values

HEX#31B879
RGBrgb(49, 184, 121)
HSLhsl(152, 58%, 46%)
HSVhsv(152, 73%, 72%)
CMYKcmyk(73.4%, 0%, 34.2%, 27.8%)
CIE-LABlab(66.76, -50.39, 21.97)
CIE-LCHlch(66.76, 54.97, 156.44°)
OKLaboklab(69.61% -0.1366 0.0554)
OKLCHoklch(69.61% 0.147 157.9)
XYZxyz(21.8561, 36.3119, 23.9425)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B879 #B83170
analogous
#31B835 #31B879 #31B3B8
triadic
#31B879 #7931B8 #B87931
tetradic
#31B879 #3531B8 #B83170 #B3B831
square
#31B879 #3531B8 #B83170 #B3B831
split-complementary
#31B879 #B831B3 #B83531
monochromatic
#175739 #248859 #31B879 #55D297 #85DEB5

Accessibility & contrast

On white

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

On black

8.26
#31B879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B879
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B879#FFFFFF#000000##000000
##31B8791.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b879;
/* rgb */ color: rgb(49, 184, 121);
/* oklch */ color: oklch(69.6% 0.147 157.9);
Tailwind
colors: {
  custom: {
    50: '#7ccea0',
    500: '#31b879',
    950: '#000000',
  },
}
SCSS
$custom: #31b879;
$custom-light: #7ccea0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b879",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 121
  },
  "hsl": {
    "h": 152,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.14739,
    "h": 157.9
  },
  "luminance": 0.36314
}

Semantic roles & 50–950 ramp

primary
#31B879
secondary
#C87DA0
accent
#478FE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B879

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

Preview Lab → · Contrast checker → · Palette generator →

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