#31986B#31986B

#31986B is a mid, moderate teal. Relative luminance 0.242; OKLCH L 60.9% C 0.117 H 160.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#31986B
RGBrgb(49, 152, 107)
HSLhsl(154, 51%, 39%)
HSVhsv(154, 68%, 60%)
CMYKcmyk(67.8%, 0%, 29.6%, 40.4%)
CIE-LABlab(56.26, -40.37, 15.28)
CIE-LCHlch(56.26, 43.16, 159.27°)
OKLaboklab(60.88% -0.1103 0.0388)
OKLCHoklch(60.88% 0.117 160.6)
XYZxyz(15.1472, 24.1693, 17.7739)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31986B #98315E
analogous
#319837 #31986B #319298
triadic
#31986B #6B3198 #986B31
tetradic
#31986B #373198 #98315E #929831
square
#31986B #373198 #98315E #929831
split-complementary
#31986B #983192 #983731
monochromatic
#133B2A #226A4A #31986B #44C38B #72D2A8

Accessibility & contrast

On white

3.60
#31986B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#31986B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31986B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31986B#FFFFFF#000000##000000
##31986B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968D68
Deuteranopia (green-blind)
#88836E
Tritanopia (blue-blind)
#00978C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31986b;
/* rgb */ color: rgb(49, 152, 107);
/* oklch */ color: oklch(60.9% 0.117 160.6);
Tailwind
colors: {
  custom: {
    50: '#76b795',
    500: '#31986b',
    950: '#000000',
  },
}
SCSS
$custom: #31986b;
$custom-light: #76b795;
$custom-dark: #000000;
JSON
{
  "hex": "#31986b",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 153.786,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.11694,
    "h": 160.6
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#31986B
secondary
#B96B8D
accent
#4D8BDB
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31986B

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

Preview Lab → · Contrast checker → · Palette generator →

#31986B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva