#31B87F#31B87F

#31B87F is a light, vivid teal. Relative luminance 0.365; OKLCH L 69.7% C 0.142 H 160.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#31B87F
RGBrgb(49, 184, 127)
HSLhsl(155, 58%, 46%)
HSVhsv(155, 73%, 72%)
CMYKcmyk(73.4%, 0%, 31%, 27.8%)
CIE-LABlab(66.87, -49.12, 18.90)
CIE-LCHlch(66.87, 52.63, 158.96°)
OKLaboklab(69.74% -0.1337 0.0479)
OKLCHoklch(69.74% 0.142 160.3)
XYZxyz(22.2356, 36.4637, 25.9409)
Luminance0.3647 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B87F #B8316A
analogous
#31B83C #31B87F #31ADB8
triadic
#31B87F #7F31B8 #B87F31
tetradic
#31B87F #3C31B8 #B8316A #ADB831
square
#31B87F #3C31B8 #B8316A #ADB831
split-complementary
#31B87F #B831AD #B83C31
monochromatic
#17573C #24885E #31B87F #55D29D #85DEB9

Accessibility & contrast

On white

2.53
#31B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#31B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B87F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B87F#FFFFFF#000000##000000
##31B87F1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7C
Deuteranopia (green-blind)
#A59E83
Tritanopia (blue-blind)
#00B7A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b87f;
/* rgb */ color: rgb(49, 184, 127);
/* oklch */ color: oklch(69.7% 0.142 160.3);
Tailwind
colors: {
  custom: {
    50: '#7ccea4',
    500: '#31b87f',
    950: '#000000',
  },
}
SCSS
$custom: #31b87f;
$custom-light: #7ccea4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b87f",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 154.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.14207,
    "h": 160.3
  },
  "luminance": 0.36466
}

Semantic roles & 50–950 ramp

primary
#31B87F
secondary
#C87D9D
accent
#4788E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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