#54786A#54786A

#54786A is a mid, muted teal. Relative luminance 0.164; OKLCH L 54.1% C 0.047 H 168.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#54786A
RGBrgb(84, 120, 106)
HSLhsl(157, 18%, 40%)
HSVhsv(157, 30%, 47%)
CMYKcmyk(30%, 0%, 11.7%, 52.9%)
CIE-LABlab(47.44, -16.01, 3.61)
CIE-LCHlch(47.44, 16.41, 167.31°)
OKLaboklab(54.11% -0.0456 0.0093)
OKLCHoklch(54.11% 0.047 168.5)
XYZxyz(12.9733, 16.3578, 16.1067)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54786A #785462
analogous
#547858 #54786A #547478
triadic
#54786A #6A5478 #786A54
tetradic
#54786A #585478 #785462 #747854
square
#54786A #585478 #785462 #747854
split-complementary
#54786A #785474 #785854
monochromatic
#22302A #3B544A #54786A #6F9A89 #93B3A7

Accessibility & contrast

On white

4.92
#54786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#54786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54786A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54786A#FFFFFF#000000##FFFFFF
##54786A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767369
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#4B7874
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #54786a;
/* rgb */ color: rgb(84, 120, 106);
/* oklch */ color: oklch(54.1% 0.047 168.5);
Tailwind
colors: {
  custom: {
    50: '#859f94',
    500: '#54786a',
    950: '#000000',
  },
}
SCSS
$custom: #54786a;
$custom-light: #859f94;
$custom-dark: #000000;
JSON
{
  "hex": "#54786a",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 156.667,
    "s": 17.647,
    "l": 40
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.04651,
    "h": 168.5
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#54786A
secondary
#A18791
accent
#6D8BBA
background
#F8F9F9
surface
#EFF2F1
border
#CACCCB
text
#0B0E0D
muted
#7C7E7E

Preview Lab

Preview with #54786A

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

Preview Lab → · Contrast checker → · Palette generator →

#54786A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva