#31715F#31715F

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

Color values

HEX#31715F
RGBrgb(49, 113, 95)
HSLhsl(163, 40%, 32%)
HSVhsv(163, 57%, 44%)
CMYKcmyk(56.6%, 0%, 15.9%, 55.7%)
CIE-LABlab(43.19, -25.28, 3.82)
CIE-LCHlch(43.19, 25.56, 171.40°)
OKLaboklab(50.12% -0.0716 0.0097)
OKLCHoklch(50.12% 0.072 172.3)
XYZxyz(9.2364, 13.2886, 12.9025)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31715F #713143
analogous
#31713F #31715F #316371
triadic
#31715F #5F3171 #715F31
tetradic
#31715F #3F3171 #713143 #637131
square
#31715F #3F3171 #713143 #637131
split-complementary
#31715F #713163 #713F31
monochromatic
#0C1C17 #1E463B #31715F #449C83 #62BBA2

Accessibility & contrast

On white

5.74
#31715F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#31715F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31715F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31715F#FFFFFF#000000##FFFFFF
##31715F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5E
Deuteranopia (green-blind)
#646360
Tritanopia (blue-blind)
#11726C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31715f;
/* rgb */ color: rgb(49, 113, 95);
/* oklch */ color: oklch(50.1% 0.072 172.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a8c',
    500: '#31715f',
    950: '#000000',
  },
}
SCSS
$custom: #31715f;
$custom-light: #6f9a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31715f",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 95
  },
  "hsl": {
    "h": 163.125,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.07227,
    "h": 172.3
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#31715F
secondary
#A25C70
accent
#587ACF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #31715F

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

Preview Lab → · Contrast checker → · Palette generator →

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