#31986E#31986E

#31986E is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.0% C 0.114 H 162.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#31986E
RGBrgb(49, 152, 110)
HSLhsl(156, 51%, 39%)
HSVhsv(156, 68%, 60%)
CMYKcmyk(67.8%, 0%, 27.6%, 40.4%)
CIE-LABlab(56.32, -39.69, 13.68)
CIE-LCHlch(56.32, 41.98, 160.98°)
OKLaboklab(60.96% -0.1088 0.0349)
OKLCHoklch(60.96% 0.114 162.2)
XYZxyz(15.3078, 24.2336, 18.6196)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31986E #98315B
analogous
#31983B #31986E #318F98
triadic
#31986E #6E3198 #986E31
tetradic
#31986E #3B3198 #98315B #8F9831
square
#31986E #3B3198 #98315B #8F9831
split-complementary
#31986E #98318F #983B31
monochromatic
#133B2B #226A4D #31986E #44C38F #72D2AB

Accessibility & contrast

On white

3.59
#31986E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#31986E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31986E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31986E#FFFFFF#000000##000000
##31986E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968D6C
Deuteranopia (green-blind)
#888371
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31986e;
/* rgb */ color: rgb(49, 152, 110);
/* oklch */ color: oklch(61.0% 0.114 162.2);
Tailwind
colors: {
  custom: {
    50: '#76b797',
    500: '#31986e',
    950: '#000000',
  },
}
SCSS
$custom: #31986e;
$custom-light: #76b797;
$custom-dark: #000000;
JSON
{
  "hex": "#31986e",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 110
  },
  "hsl": {
    "h": 155.534,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.11428,
    "h": 162.2
  },
  "luminance": 0.24235
}

Semantic roles & 50–950 ramp

primary
#31986E
secondary
#B96B8B
accent
#4D87DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31986E

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

Preview Lab → · Contrast checker → · Palette generator →

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