#5E5A4E#5E5A4E

#5E5A4E is a mid, near-neutral yellow. Relative luminance 0.102; OKLCH L 46.8% C 0.019 H 91.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5A4E
RGBrgb(94, 90, 78)
HSLhsl(45, 9%, 34%)
HSVhsv(45, 17%, 37%)
CMYKcmyk(0%, 4.3%, 17%, 63.1%)
CIE-LABlab(38.27, -0.70, 7.52)
CIE-LCHlch(38.27, 7.55, 95.35°)
OKLaboklab(46.76% -0.0006 0.0195)
OKLCHoklch(46.76% 0.019 91.7)
XYZxyz(9.6473, 10.2422, 8.6750)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5A4E #4E525E
analogous
#5E524E #5E5A4E #5A5E4E
triadic
#5E5A4E #4E5E5A #5A4E5E
tetradic
#5E5A4E #4E5E52 #4E525E #5E4E5A
square
#5E5A4E #4E5E52 #4E525E #5E4E5A
split-complementary
#5E5A4E #4E5A5E #524E5E
monochromatic
#1B1A16 #3D3A32 #5E5A4E #7F7A6A #9D9889

Accessibility & contrast

On white

6.89
#5E5A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5A4E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5A4E#FFFFFF#000000##FFFFFF
##5E5A4E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594D
Deuteranopia (green-blind)
#5E5B4E
Tritanopia (blue-blind)
#615857
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5a4e;
/* rgb */ color: rgb(94, 90, 78);
/* oklch */ color: oklch(46.8% 0.019 91.7);
Tailwind
colors: {
  custom: {
    50: '#8b887f',
    500: '#5e5a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e5a4e;
$custom-light: #8b887f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5a4e",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 45,
    "s": 9.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.01947,
    "h": 91.7
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#5E5A4E
secondary
#7C808C
accent
#85B276
background
#F8F8F7
surface
#F0EFEE
border
#CBCAC9
text
#0C0B0A
muted
#7D7C7C

Preview Lab

Preview with #5E5A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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