#31B87C#31B87C

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

Color values

HEX#31B87C
RGBrgb(49, 184, 124)
HSLhsl(153, 58%, 46%)
HSVhsv(153, 73%, 72%)
CMYKcmyk(73.4%, 0%, 32.6%, 27.8%)
CIE-LABlab(66.81, -49.76, 20.44)
CIE-LCHlch(66.81, 53.80, 157.67°)
OKLaboklab(69.67% -0.1352 0.0517)
OKLCHoklch(69.67% 0.145 159.1)
XYZxyz(22.0430, 36.3866, 24.9265)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B87C #B8316D
analogous
#31B838 #31B87C #31B0B8
triadic
#31B87C #7C31B8 #B87C31
tetradic
#31B87C #3831B8 #B8316D #B0B831
square
#31B87C #3831B8 #B8316D #B0B831
split-complementary
#31B87C #B831B0 #B83831
monochromatic
#17573B #24885B #31B87C #55D29A #85DEB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B87C#FFFFFF#000000##000000
##31B87C1.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)
#B6AA78
Deuteranopia (green-blind)
#A59E80
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b87c;
/* rgb */ color: rgb(49, 184, 124);
/* oklch */ color: oklch(69.7% 0.145 159.1);
Tailwind
colors: {
  custom: {
    50: '#7ccea2',
    500: '#31b87c',
    950: '#000000',
  },
}
SCSS
$custom: #31b87c;
$custom-light: #7ccea2;
$custom-dark: #000000;
JSON
{
  "hex": "#31b87c",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 124
  },
  "hsl": {
    "h": 153.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.14471,
    "h": 159.1
  },
  "luminance": 0.36389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B87C

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

Preview Lab → · Contrast checker → · Palette generator →

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