#5A7B7B#5A7B7B

#5A7B7B is a mid, muted teal. Relative luminance 0.178; OKLCH L 55.8% C 0.038 H 196.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5A7B7B
RGBrgb(90, 123, 123)
HSLhsl(180, 15%, 42%)
HSVhsv(180, 27%, 48%)
CMYKcmyk(26.8%, 0%, 0%, 51.8%)
CIE-LABlab(49.21, -11.66, -3.81)
CIE-LCHlch(49.21, 12.26, 198.09°)
OKLaboklab(55.78% -0.0361 -0.0104)
OKLCHoklch(55.78% 0.038 196.1)
XYZxyz(14.8734, 17.7689, 21.3811)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7B7B #7B5A5A
analogous
#5A7B6B #5A7B7B #5A6B7B
triadic
#5A7B7B #7B5A7B #7B7B5A
tetradic
#5A7B7B #6B5A7B #7B5A5A #6B7B5A
square
#5A7B7B #6B5A7B #7B5A5A #6B7B5A
split-complementary
#5A7B7B #7B5A6B #7B6B5A
monochromatic
#263434 #405858 #5A7B7B #779B9B #9AB5B5

Accessibility & contrast

On white

4.61
#5A7B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5A7B7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7B7B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7B7B#FFFFFF#000000##FFFFFF
##5A7B7B1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787B
Deuteranopia (green-blind)
#70737B
Tritanopia (blue-blind)
#4F7D7B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a7b7b;
/* rgb */ color: rgb(90, 123, 123);
/* oklch */ color: oklch(55.8% 0.038 196.1);
Tailwind
colors: {
  custom: {
    50: '#89a1a1',
    500: '#5a7b7b',
    950: '#000000',
  },
}
SCSS
$custom: #5a7b7b;
$custom-light: #89a1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7b7b",
  "rgb": {
    "r": 90,
    "g": 123,
    "b": 123
  },
  "hsl": {
    "h": 180,
    "s": 15.493,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.03754,
    "h": 196.1
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#5A7B7B
secondary
#A48D8D
accent
#7070B8
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0F0E
muted
#7D7E7E

Preview Lab

Preview with #5A7B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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