#31B876#31B876

#31B876 is a light, vivid teal. Relative luminance 0.362; OKLCH L 69.5% C 0.150 H 156.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#31B876
RGBrgb(49, 184, 118)
HSLhsl(151, 58%, 46%)
HSVhsv(151, 73%, 72%)
CMYKcmyk(73.4%, 0%, 35.9%, 27.8%)
CIE-LABlab(66.70, -51.00, 23.50)
CIE-LCHlch(66.70, 56.15, 155.26°)
OKLaboklab(69.54% -0.138 0.059)
OKLCHoklch(69.54% 0.15 156.8)
XYZxyz(21.6750, 36.2394, 22.9886)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B876 #B83173
analogous
#31B833 #31B876 #31B6B8
triadic
#31B876 #7631B8 #B87631
tetradic
#31B876 #3331B8 #B83173 #B6B831
square
#31B876 #3331B8 #B83173 #B6B831
split-complementary
#31B876 #B831B6 #B83331
monochromatic
#175738 #248857 #31B876 #55D294 #85DEB3

Accessibility & contrast

On white

2.55
#31B876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#31B876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B876
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B876#FFFFFF#000000##000000
##31B8761.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A972
Deuteranopia (green-blind)
#A69E7A
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b876;
/* rgb */ color: rgb(49, 184, 118);
/* oklch */ color: oklch(69.5% 0.150 156.8);
Tailwind
colors: {
  custom: {
    50: '#7cce9e',
    500: '#31b876',
    950: '#000000',
  },
}
SCSS
$custom: #31b876;
$custom-light: #7cce9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b876",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 118
  },
  "hsl": {
    "h": 150.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69543,
    "c": 0.1501,
    "h": 156.8
  },
  "luminance": 0.36242
}

Semantic roles & 50–950 ramp

primary
#31B876
secondary
#C87DA2
accent
#4792E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B876

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

Preview Lab → · Contrast checker → · Palette generator →

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