#5D540F#5D540F

#5D540F is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.085 H 101.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5D540F
RGBrgb(93, 84, 15)
HSLhsl(53, 72%, 21%)
HSVhsv(53, 84%, 36%)
CMYKcmyk(0%, 9.7%, 83.9%, 63.5%)
CIE-LABlab(35.41, -4.56, 38.43)
CIE-LCHlch(35.41, 38.70, 96.77°)
OKLaboklab(44.16% -0.0169 0.0836)
OKLCHoklch(44.16% 0.085 101.4)
XYZxyz(7.7711, 8.7027, 1.7223)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D540F #0F185D
analogous
#5D2D0F #5D540F #3F5D0F
triadic
#5D540F #0F5D54 #540F5D
tetradic
#5D540F #0F5D2D #0F185D #5D0F3F
square
#5D540F #0F5D2D #0F185D #5D0F3F
split-complementary
#5D540F #0F3F5D #2D0F5D
monochromatic
#1A1804 #282406 #5D540F #928417 #C6B320

Accessibility & contrast

On white

7.66
#5D540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D540F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D540F#FFFFFF#000000##FFFFFF
##5D540F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5101
Deuteranopia (green-blind)
#5F5514
Tritanopia (blue-blind)
#654D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d540f;
/* rgb */ color: rgb(93, 84, 15);
/* oklch */ color: oklch(44.2% 0.085 101.4);
Tailwind
colors: {
  custom: {
    50: '#8e8354',
    500: '#5d540f',
    950: '#000000',
  },
}
SCSS
$custom: #5d540f;
$custom-light: #8e8354;
$custom-dark: #000000;
JSON
{
  "hex": "#5d540f",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 53.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.08529,
    "h": 101.4
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#5D540F
secondary
#313D96
accent
#4EEF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D540F

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

Preview Lab → · Contrast checker → · Palette generator →

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