#31B877#31B877

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

Color values

HEX#31B877
RGBrgb(49, 184, 119)
HSLhsl(151, 58%, 46%)
HSVhsv(151, 73%, 72%)
CMYKcmyk(73.4%, 0%, 35.3%, 27.8%)
CIE-LABlab(66.72, -50.80, 22.99)
CIE-LCHlch(66.72, 55.76, 155.65°)
OKLaboklab(69.56% -0.1375 0.0578)
OKLCHoklch(69.56% 0.149 157.2)
XYZxyz(21.7348, 36.2633, 23.3032)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B877 #B83172
analogous
#31B833 #31B877 #31B5B8
triadic
#31B877 #7731B8 #B87731
tetradic
#31B877 #3331B8 #B83172 #B5B831
square
#31B877 #3331B8 #B83172 #B5B831
split-complementary
#31B877 #B831B5 #B83331
monochromatic
#175738 #248858 #31B877 #55D295 #85DEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B877#FFFFFF#000000##000000
##31B8771.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A973
Deuteranopia (green-blind)
#A69E7B
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b877;
/* rgb */ color: rgb(49, 184, 119);
/* oklch */ color: oklch(69.6% 0.149 157.2);
Tailwind
colors: {
  custom: {
    50: '#7cce9e',
    500: '#31b877',
    950: '#000000',
  },
}
SCSS
$custom: #31b877;
$custom-light: #7cce9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b877",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 119
  },
  "hsl": {
    "h": 151.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.14919,
    "h": 157.2
  },
  "luminance": 0.36266
}

Semantic roles & 50–950 ramp

primary
#31B877
secondary
#C87DA1
accent
#4791E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B877

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

Preview Lab → · Contrast checker → · Palette generator →

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