#5D541E#5D541E

#5D541E is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.3% C 0.074 H 99.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5D541E
RGBrgb(93, 84, 30)
HSLhsl(51, 51%, 24%)
HSVhsv(51, 68%, 36%)
CMYKcmyk(0%, 9.7%, 67.7%, 63.5%)
CIE-LABlab(35.52, -3.69, 31.97)
CIE-LCHlch(35.52, 32.18, 96.59°)
OKLaboklab(44.29% -0.0127 0.0729)
OKLCHoklch(44.29% 0.074 99.8)
XYZxyz(7.9192, 8.7619, 2.5021)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D541E #1E275D
analogous
#5D351E #5D541E #475D1E
triadic
#5D541E #1E5D54 #541E5D
tetradic
#5D541E #1E5D35 #1E275D #5D1E47
square
#5D541E #1E5D35 #1E275D #5D1E47
split-complementary
#5D541E #1E475D #351E5D
monochromatic
#171507 #2F2A0F #5D541E #8B7E2D #BAA83C

Accessibility & contrast

On white

7.63
#5D541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5D541E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D541E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D541E#FFFFFF#000000##FFFFFF
##5D541E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5218
Deuteranopia (green-blind)
#5F5521
Tritanopia (blue-blind)
#644E49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d541e;
/* rgb */ color: rgb(93, 84, 30);
/* oklch */ color: oklch(44.3% 0.074 99.8);
Tailwind
colors: {
  custom: {
    50: '#8d835d',
    500: '#5d541e',
    950: '#000000',
  },
}
SCSS
$custom: #5d541e;
$custom-light: #8d835d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d541e",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 51.429,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4429,
    "c": 0.07401,
    "h": 99.8
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#5D541E
secondary
#455092
accent
#61DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D541E

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

Preview Lab → · Contrast checker → · Palette generator →

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