#5C5945#5C5945

#5C5945 is a mid, muted yellow. Relative luminance 0.099; OKLCH L 46.1% C 0.031 H 100.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5C5945
RGBrgb(92, 89, 69)
HSLhsl(52, 14%, 32%)
HSVhsv(52, 25%, 36%)
CMYKcmyk(0%, 3.3%, 25%, 63.9%)
CIE-LABlab(37.57, -2.51, 12.04)
CIE-LCHlch(37.57, 12.30, 101.77°)
OKLaboklab(46.09% -0.0056 0.0306)
OKLCHoklch(46.09% 0.031 100.4)
XYZxyz(9.0602, 9.8499, 7.0530)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5945 #45485C
analogous
#5C4E45 #5C5945 #545C45
triadic
#5C5945 #455C59 #59455C
tetradic
#5C5945 #455C4E #45485C #5C4554
square
#5C5945 #455C4E #45485C #5C4554
split-complementary
#5C5945 #45545C #4E455C
monochromatic
#161511 #39372B #5C5945 #7F7B5F #9E9A7E

Accessibility & contrast

On white

7.07
#5C5945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5C5945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5945
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5945#FFFFFF#000000##FFFFFF
##5C59451.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5844
Deuteranopia (green-blind)
#5E5946
Tritanopia (blue-blind)
#605654
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c5945;
/* rgb */ color: rgb(92, 89, 69);
/* oklch */ color: oklch(46.1% 0.031 100.4);
Tailwind
colors: {
  custom: {
    50: '#8a8778',
    500: '#5c5945',
    950: '#000000',
  },
}
SCSS
$custom: #5c5945;
$custom-light: #8a8778;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5945",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 69
  },
  "hsl": {
    "h": 52.174,
    "s": 14.286,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.03115,
    "h": 100.4
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#5C5945
secondary
#72758B
accent
#7AB771
background
#F8F8F7
surface
#F0EFED
border
#CBCAC8
text
#0B0B09
muted
#7C7C7B

Preview Lab

Preview with #5C5945

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

Preview Lab → · Contrast checker → · Palette generator →

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