#31986F#31986F

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

Color values

HEX#31986F
RGBrgb(49, 152, 111)
HSLhsl(156, 51%, 39%)
HSVhsv(156, 68%, 60%)
CMYKcmyk(67.8%, 0%, 27%, 40.4%)
CIE-LABlab(56.34, -39.46, 13.15)
CIE-LCHlch(56.34, 41.59, 161.57°)
OKLaboklab(60.98% -0.1083 0.0335)
OKLCHoklch(60.98% 0.113 162.8)
XYZxyz(15.3625, 24.2555, 18.9080)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31986F #98315A
analogous
#31983C #31986F #318E98
triadic
#31986F #6F3198 #986F31
tetradic
#31986F #3C3198 #98315A #8E9831
square
#31986F #3C3198 #98315A #8E9831
split-complementary
#31986F #98318E #983C31
monochromatic
#133B2B #226A4D #31986F #44C390 #72D2AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31986F#FFFFFF#000000##000000
##31986F1.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)
#958D6D
Deuteranopia (green-blind)
#888372
Tritanopia (blue-blind)
#00988D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31986f;
/* rgb */ color: rgb(49, 152, 111);
/* oklch */ color: oklch(61.0% 0.113 162.8);
Tailwind
colors: {
  custom: {
    50: '#76b798',
    500: '#31986f',
    950: '#000000',
  },
}
SCSS
$custom: #31986f;
$custom-light: #76b798;
$custom-dark: #000000;
JSON
{
  "hex": "#31986f",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 111
  },
  "hsl": {
    "h": 156.117,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.1134,
    "h": 162.8
  },
  "luminance": 0.24257
}

Semantic roles & 50–950 ramp

primary
#31986F
secondary
#B96B8A
accent
#4D85DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31986F

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

Preview Lab → · Contrast checker → · Palette generator →

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