#31716F#31716F

#31716F is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.7% C 0.065 H 192.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#31716F
RGBrgb(49, 113, 111)
HSLhsl(178, 40%, 32%)
HSVhsv(178, 57%, 44%)
CMYKcmyk(56.6%, 0%, 1.8%, 55.7%)
CIE-LABlab(43.67, -20.84, -5.10)
CIE-LCHlch(43.67, 21.45, 193.75°)
OKLaboklab(50.66% -0.0638 -0.0141)
OKLCHoklch(50.66% 0.065 192.5)
XYZxyz(10.0398, 13.6100, 17.1337)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31716F #713133
analogous
#31714F #31716F #315371
triadic
#31716F #6F3171 #716F31
tetradic
#31716F #4F3171 #713133 #537131
square
#31716F #4F3171 #713133 #537131
split-complementary
#31716F #713153 #714F31
monochromatic
#0C1C1B #1E4645 #31716F #449C99 #62BBB8

Accessibility & contrast

On white

5.64
#31716F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#31716F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31716F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31716F#FFFFFF#000000##FFFFFF
##31716F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C6F
Deuteranopia (green-blind)
#606470
Tritanopia (blue-blind)
#007470
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #31716f;
/* rgb */ color: rgb(49, 113, 111);
/* oklch */ color: oklch(50.7% 0.065 192.5);
Tailwind
colors: {
  custom: {
    50: '#709a98',
    500: '#31716f',
    950: '#000000',
  },
}
SCSS
$custom: #31716f;
$custom-light: #709a98;
$custom-dark: #000000;
JSON
{
  "hex": "#31716f",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 111
  },
  "hsl": {
    "h": 178.125,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.06532,
    "h": 192.5
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#31716F
secondary
#A25C5E
accent
#585CCF
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #31716F

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

Preview Lab → · Contrast checker → · Palette generator →

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