#31715E#31715E

#31715E is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.1% C 0.073 H 171.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#31715E
RGBrgb(49, 113, 94)
HSLhsl(162, 40%, 32%)
HSVhsv(162, 57%, 44%)
CMYKcmyk(56.6%, 0%, 16.8%, 55.7%)
CIE-LABlab(43.17, -25.54, 4.39)
CIE-LCHlch(43.17, 25.91, 170.25°)
OKLaboklab(50.09% -0.0721 0.0112)
OKLCHoklch(50.09% 0.073 171.2)
XYZxyz(9.1912, 13.2705, 12.6646)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31715E #713144
analogous
#31713E #31715E #316471
triadic
#31715E #5E3171 #715E31
tetradic
#31715E #3E3171 #713144 #647131
square
#31715E #3E3171 #713144 #647131
split-complementary
#31715E #713164 #713E31
monochromatic
#0C1C17 #1E463A #31715E #449C82 #62BBA0

Accessibility & contrast

On white

5.75
#31715E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#31715E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31715E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31715E#FFFFFF#000000##FFFFFF
##31715E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5D
Deuteranopia (green-blind)
#64635F
Tritanopia (blue-blind)
#12726B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31715e;
/* rgb */ color: rgb(49, 113, 94);
/* oklch */ color: oklch(50.1% 0.073 171.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a8b',
    500: '#31715e',
    950: '#000000',
  },
}
SCSS
$custom: #31715e;
$custom-light: #6f9a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31715e",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 94
  },
  "hsl": {
    "h": 162.188,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.07298,
    "h": 171.2
  },
  "luminance": 0.13271
}

Semantic roles & 50–950 ramp

primary
#31715E
secondary
#A25C71
accent
#587CCF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #31715E

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

Preview Lab → · Contrast checker → · Palette generator →

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