#5E5A42#5E5A42

#5E5A42 is a mid, muted yellow. Relative luminance 0.101; OKLCH L 46.5% C 0.037 H 99.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5E5A42
RGBrgb(94, 90, 66)
HSLhsl(51, 18%, 31%)
HSVhsv(51, 30%, 37%)
CMYKcmyk(0%, 4.3%, 29.8%, 63.1%)
CIE-LABlab(38.00, -2.70, 14.48)
CIE-LCHlch(38.00, 14.73, 100.58°)
OKLaboklab(46.45% -0.0062 0.0365)
OKLCHoklch(46.45% 0.037 99.7)
XYZxyz(9.2557, 10.0856, 6.6123)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5A42 #42465E
analogous
#5E4C42 #5E5A42 #545E42
triadic
#5E5A42 #425E5A #5A425E
tetradic
#5E5A42 #425E4C #42465E #5E4254
square
#5E5A42 #425E4C #42465E #5E4254
split-complementary
#5E5A42 #42545E #4C425E
monochromatic
#161510 #3A3829 #5E5A42 #827C5B #A19B79

Accessibility & contrast

On white

6.96
#5E5A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5E5A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5A42
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5A42#FFFFFF#000000##FFFFFF
##5E5A421.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5840
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#625754
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5a42;
/* rgb */ color: rgb(94, 90, 66);
/* oklch */ color: oklch(46.5% 0.037 99.7);
Tailwind
colors: {
  custom: {
    50: '#8c8876',
    500: '#5e5a42',
    950: '#000000',
  },
}
SCSS
$custom: #5e5a42;
$custom-light: #8c8876;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5a42",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 51.429,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.03703,
    "h": 99.7
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#5E5A42
secondary
#6E738D
accent
#79BA6E
background
#F8F8F7
surface
#F0EFED
border
#CBCAC8
text
#0C0B08
muted
#7D7C7B

Preview Lab

Preview with #5E5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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