#5D5218#5D5218

#5D5218 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.077 H 98.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5D5218
RGBrgb(93, 82, 24)
HSLhsl(50, 59%, 23%)
HSVhsv(50, 74%, 36%)
CMYKcmyk(0%, 11.8%, 74.2%, 63.5%)
CIE-LABlab(34.86, -2.90, 34.18)
CIE-LCHlch(34.86, 34.30, 94.85°)
OKLaboklab(43.75% -0.0112 0.0765)
OKLCHoklch(43.75% 0.077 98.3)
XYZxyz(7.6967, 8.4281, 2.0853)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5218 #18235D
analogous
#5D2F18 #5D5218 #455D18
triadic
#5D5218 #185D52 #52185D
tetradic
#5D5218 #185D2F #18235D #5D1845
square
#5D5218 #185D2F #18235D #5D1845
split-complementary
#5D5218 #18455D #2F185D
monochromatic
#181506 #2C270B #5D5218 #8E7D25 #BEA831

Accessibility & contrast

On white

7.82
#5D5218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5D5218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5218
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5218#FFFFFF#000000##FFFFFF
##5D52181.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5010
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d5218;
/* rgb */ color: rgb(93, 82, 24);
/* oklch */ color: oklch(43.7% 0.077 98.3);
Tailwind
colors: {
  custom: {
    50: '#8d8259',
    500: '#5d5218',
    950: '#000000',
  },
}
SCSS
$custom: #5d5218;
$custom-light: #8d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5218",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 50.435,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.07731,
    "h": 98.3
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#5D5218
secondary
#3D4B93
accent
#5FE246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5D5218

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

Preview Lab → · Contrast checker → · Palette generator →

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