#317B6F#317B6F

#317B6F is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.3% C 0.076 H 180.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#317B6F
RGBrgb(49, 123, 111)
HSLhsl(170, 43%, 34%)
HSVhsv(170, 60%, 48%)
CMYKcmyk(60.2%, 0%, 9.8%, 51.8%)
CIE-LABlab(46.93, -25.99, -0.30)
CIE-LCHlch(46.93, 25.99, 180.65°)
OKLaboklab(53.3% -0.0757 -0.0012)
OKLCHoklch(53.3% 0.076 180.9)
XYZxyz(11.2175, 15.9655, 17.5263)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B6F #7B313D
analogous
#317B4A #317B6F #31627B
triadic
#317B6F #6F317B #7B6F31
tetradic
#317B6F #4A317B #7B313D #627B31
square
#317B6F #4A317B #7B313D #627B31
split-complementary
#317B6F #7B3162 #7B4A31
monochromatic
#0E2320 #204F48 #317B6F #42A796 #65C2B3

Accessibility & contrast

On white

5.01
#317B6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#317B6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B6F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B6F#FFFFFF#000000##FFFFFF
##317B6F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76746F
Deuteranopia (green-blind)
#6A6C70
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317b6f;
/* rgb */ color: rgb(49, 123, 111);
/* oklch */ color: oklch(53.3% 0.076 180.9);
Tailwind
colors: {
  custom: {
    50: '#71a198',
    500: '#317b6f',
    950: '#000000',
  },
}
SCSS
$custom: #317b6f;
$custom-light: #71a198;
$custom-dark: #000000;
JSON
{
  "hex": "#317b6f",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 111
  },
  "hsl": {
    "h": 170.27,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.0757,
    "h": 180.9
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#317B6F
secondary
#A95F6B
accent
#5569D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #317B6F

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

Preview Lab → · Contrast checker → · Palette generator →

#317B6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva