#31986C#31986C

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

Color values

HEX#31986C
RGBrgb(49, 152, 108)
HSLhsl(154, 51%, 39%)
HSVhsv(154, 68%, 60%)
CMYKcmyk(67.8%, 0%, 28.9%, 40.4%)
CIE-LABlab(56.28, -40.15, 14.74)
CIE-LCHlch(56.28, 42.77, 159.83°)
OKLaboklab(60.91% -0.1098 0.0375)
OKLCHoklch(60.91% 0.116 161.1)
XYZxyz(15.2001, 24.1905, 18.0526)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31986C #98315D
analogous
#319839 #31986C #319198
triadic
#31986C #6C3198 #986C31
tetradic
#31986C #393198 #98315D #919831
square
#31986C #393198 #98315D #919831
split-complementary
#31986C #983191 #983931
monochromatic
#133B2A #226A4B #31986C #44C38C #72D2A9

Accessibility & contrast

On white

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

On black

5.84
#31986C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31986C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31986C#FFFFFF#000000##000000
##31986C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968D69
Deuteranopia (green-blind)
#88836F
Tritanopia (blue-blind)
#00988C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31986c;
/* rgb */ color: rgb(49, 152, 108);
/* oklch */ color: oklch(60.9% 0.116 161.1);
Tailwind
colors: {
  custom: {
    50: '#76b796',
    500: '#31986c',
    950: '#000000',
  },
}
SCSS
$custom: #31986c;
$custom-light: #76b796;
$custom-dark: #000000;
JSON
{
  "hex": "#31986c",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 108
  },
  "hsl": {
    "h": 154.369,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.11604,
    "h": 161.1
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#31986C
secondary
#B96B8D
accent
#4D8ADB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31986C

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

Preview Lab → · Contrast checker → · Palette generator →

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