#5D541F#5D541F

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

Color values

HEX#5D541F
RGBrgb(93, 84, 31)
HSLhsl(51, 50%, 24%)
HSVhsv(51, 67%, 36%)
CMYKcmyk(0%, 9.7%, 66.7%, 63.5%)
CIE-LABlab(35.53, -3.62, 31.47)
CIE-LCHlch(35.53, 31.68, 96.56°)
OKLaboklab(44.3% -0.0123 0.072)
OKLCHoklch(44.3% 0.073 99.7)
XYZxyz(7.9322, 8.7671, 2.5705)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D541F #1F285D
analogous
#5D351F #5D541F #475D1F
triadic
#5D541F #1F5D54 #541F5D
tetradic
#5D541F #1F5D35 #1F285D #5D1F47
square
#5D541F #1F5D35 #1F285D #5D1F47
split-complementary
#5D541F #1F475D #351F5D
monochromatic
#171508 #2F2B10 #5D541F #8B7D2E #B9A73E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D541F#FFFFFF#000000##FFFFFF
##5D541F1.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)
#5C5219
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#644E49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d541f;
/* rgb */ color: rgb(93, 84, 31);
/* oklch */ color: oklch(44.3% 0.073 99.7);
Tailwind
colors: {
  custom: {
    50: '#8d835d',
    500: '#5d541f',
    950: '#000000',
  },
}
SCSS
$custom: #5d541f;
$custom-light: #8d835d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d541f",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 51.29,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.07307,
    "h": 99.7
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#5D541F
secondary
#465192
accent
#62DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D541F

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

Preview Lab → · Contrast checker → · Palette generator →

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