#5F997D#5F997D

#5F997D is a light, moderate teal. Relative luminance 0.267; OKLCH L 63.5% C 0.075 H 162.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5F997D
RGBrgb(95, 153, 125)
HSLhsl(151, 23%, 49%)
HSVhsv(151, 38%, 60%)
CMYKcmyk(37.9%, 0%, 18.3%, 40%)
CIE-LABlab(58.69, -25.49, 8.80)
CIE-LCHlch(58.69, 26.96, 160.96°)
OKLaboklab(63.47% -0.0711 0.0227)
OKLCHoklch(63.47% 0.075 162.3)
XYZxyz(19.8108, 26.6948, 23.5068)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F997D #995F7B
analogous
#5F9960 #5F997D #5F9899
triadic
#5F997D #7D5F99 #997D5F
tetradic
#5F997D #605F99 #995F7B #98995F
square
#5F997D #605F99 #995F7B #98995F
split-complementary
#5F997D #995F98 #99605F
monochromatic
#304D3F #48735E #5F997D #83B29B #A9CABA

Accessibility & contrast

On white

3.31
#5F997D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5F997D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F997D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F997D#FFFFFF#000000##000000
##5F997D1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97917C
Deuteranopia (green-blind)
#8E8A7F
Tritanopia (blue-blind)
#519991
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f997d;
/* rgb */ color: rgb(95, 153, 125);
/* oklch */ color: oklch(63.5% 0.075 162.3);
Tailwind
colors: {
  custom: {
    50: '#8fb7a2',
    500: '#5f997d',
    950: '#000000',
  },
}
SCSS
$custom: #5f997d;
$custom-light: #8fb7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f997d",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 151.034,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.63472,
    "c": 0.07464,
    "h": 162.3
  },
  "luminance": 0.26696
}

Semantic roles & 50–950 ramp

primary
#5F997D
secondary
#B89CA9
accent
#6892C0
background
#F8FBFA
surface
#F0F6F3
border
#CBD0CD
text
#0C110F
muted
#7D807F

Preview Lab

Preview with #5F997D

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

Preview Lab → · Contrast checker → · Palette generator →

#5F997D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva