#317B57#317B57

#317B57 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.6% C 0.094 H 159.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#317B57
RGBrgb(49, 123, 87)
HSLhsl(151, 43%, 34%)
HSVhsv(151, 60%, 48%)
CMYKcmyk(60.2%, 0%, 29.3%, 51.8%)
CIE-LABlab(46.32, -32.03, 12.97)
CIE-LCHlch(46.32, 34.56, 157.96°)
OKLaboklab(52.6% -0.0877 0.033)
OKLCHoklch(52.6% 0.094 159.4)
XYZxyz(10.0690, 15.5060, 11.4773)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B57 #7B3155
analogous
#317B32 #317B57 #317A7B
triadic
#317B57 #57317B #7B5731
tetradic
#317B57 #32317B #7B3155 #7A7B31
square
#317B57 #32317B #7B3155 #7A7B31
split-complementary
#317B57 #7B317A #7B3231
monochromatic
#0E2319 #204F38 #317B57 #42A776 #65C294

Accessibility & contrast

On white

5.12
#317B57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#317B57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B57
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B57#FFFFFF#000000##FFFFFF
##317B571.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7255
Deuteranopia (green-blind)
#6F6B59
Tritanopia (blue-blind)
#137A71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317b57;
/* rgb */ color: rgb(49, 123, 87);
/* oklch */ color: oklch(52.6% 0.094 159.4);
Tailwind
colors: {
  custom: {
    50: '#70a286',
    500: '#317b57',
    950: '#000000',
  },
}
SCSS
$custom: #317b57;
$custom-light: #70a286;
$custom-dark: #000000;
JSON
{
  "hex": "#317b57",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 87
  },
  "hsl": {
    "h": 150.811,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.0937,
    "h": 159.4
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#317B57
secondary
#A95F83
accent
#5592D3
background
#F7FAF8
surface
#EDF3EF
border
#C8CDCA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #317B57

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

Preview Lab → · Contrast checker → · Palette generator →

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