#514C4E#514C4E

#514C4E is a dark, near-neutral grey. Relative luminance 0.075; OKLCH L 42.2% C 0.007 H 351.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#514C4E
RGBrgb(81, 76, 78)
HSLhsl(336, 3%, 31%)
HSVhsv(336, 6%, 32%)
CMYKcmyk(0%, 6.2%, 3.7%, 68.2%)
CIE-LABlab(32.85, 2.48, -0.44)
CIE-LCHlch(32.85, 2.52, 349.91°)
OKLaboklab(42.21% 0.0073 -0.0011)
OKLCHoklch(42.21% 0.007 351.1)
XYZxyz(7.3527, 7.4683, 8.2604)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C4E #4C514F
analogous
#514C50 #514C4E #514C4C
triadic
#514C4E #4E514C #4C4E51
tetradic
#514C4E #50514C #4C514F #4C4C51
square
#514C4E #50514C #4C514F #4C4C51
split-complementary
#514C4E #4C514C #4C5051
monochromatic
#121111 #312E30 #514C4E #716A6C #8F888B

Accessibility & contrast

On white

8.42
#514C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#514C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C4E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C4E#FFFFFF#000000##FFFFFF
##514C4E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4E
Deuteranopia (green-blind)
#4D4E4E
Tritanopia (blue-blind)
#524C4D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514c4e;
/* rgb */ color: rgb(81, 76, 78);
/* oklch */ color: oklch(42.2% 0.007 351.1);
Tailwind
colors: {
  custom: {
    50: '#817e7f',
    500: '#514c4e',
    950: '#000000',
  },
}
SCSS
$custom: #514c4e;
$custom-light: #817e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#514c4e",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 78
  },
  "hsl": {
    "h": 336,
    "s": 3.185,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.00735,
    "h": 351.1
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#514C4E
secondary
#7A7F7D
accent
#AC997B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #514C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#514C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva