#31B87D#31B87D

#31B87D is a light, vivid teal. Relative luminance 0.364; OKLCH L 69.7% C 0.144 H 159.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#31B87D
RGBrgb(49, 184, 125)
HSLhsl(154, 58%, 46%)
HSVhsv(154, 73%, 72%)
CMYKcmyk(73.4%, 0%, 32.1%, 27.8%)
CIE-LABlab(66.83, -49.55, 19.92)
CIE-LCHlch(66.83, 53.41, 158.10°)
OKLaboklab(69.69% -0.1347 0.0504)
OKLCHoklch(69.69% 0.144 159.5)
XYZxyz(22.1065, 36.4120, 25.2612)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B87D #B8316C
analogous
#31B83A #31B87D #31AFB8
triadic
#31B87D #7D31B8 #B87D31
tetradic
#31B87D #3A31B8 #B8316C #AFB831
square
#31B87D #3A31B8 #B8316C #AFB831
split-complementary
#31B87D #B831AF #B83A31
monochromatic
#17573B #24885C #31B87D #55D29B #85DEB7

Accessibility & contrast

On white

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

On black

8.28
#31B87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B87D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B87D#FFFFFF#000000##000000
##31B87D1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA79
Deuteranopia (green-blind)
#A59E81
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b87d;
/* rgb */ color: rgb(49, 184, 125);
/* oklch */ color: oklch(69.7% 0.144 159.5);
Tailwind
colors: {
  custom: {
    50: '#7ccea3',
    500: '#31b87d',
    950: '#000000',
  },
}
SCSS
$custom: #31b87d;
$custom-light: #7ccea3;
$custom-dark: #000000;
JSON
{
  "hex": "#31b87d",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 125
  },
  "hsl": {
    "h": 153.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69694,
    "c": 0.14383,
    "h": 159.5
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#31B87D
secondary
#C87D9E
accent
#478AE1
background
#F8FCFA
surface
#EFF9F3
border
#CAD2CD
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B87D

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

Preview Lab → · Contrast checker → · Palette generator →

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