#31B875#31B875

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

Color values

HEX#31B875
RGBrgb(49, 184, 117)
HSLhsl(150, 58%, 46%)
HSVhsv(150, 73%, 72%)
CMYKcmyk(73.4%, 0%, 36.4%, 27.8%)
CIE-LABlab(66.68, -51.20, 24.01)
CIE-LCHlch(66.68, 56.55, 154.88°)
OKLaboklab(69.52% -0.1385 0.0603)
OKLCHoklch(69.52% 0.151 156.5)
XYZxyz(21.6159, 36.2158, 22.6773)
Luminance0.3622 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B875 #B83174
analogous
#31B831 #31B875 #31B7B8
triadic
#31B875 #7531B8 #B87531
tetradic
#31B875 #3131B8 #B83174 #B7B831
square
#31B875 #3131B8 #B83174 #B7B831
split-complementary
#31B875 #B831B7 #B83131
monochromatic
#175738 #248856 #31B875 #55D294 #85DEB2

Accessibility & contrast

On white

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

On black

8.24
#31B875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B875
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B875#FFFFFF#000000##000000
##31B8751.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b875;
/* rgb */ color: rgb(49, 184, 117);
/* oklch */ color: oklch(69.5% 0.151 156.5);
Tailwind
colors: {
  custom: {
    50: '#7cce9d',
    500: '#31b875',
    950: '#000000',
  },
}
SCSS
$custom: #31b875;
$custom-light: #7cce9d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b875",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 117
  },
  "hsl": {
    "h": 150.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69522,
    "c": 0.15101,
    "h": 156.5
  },
  "luminance": 0.36218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B875

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

Preview Lab → · Contrast checker → · Palette generator →

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