#5D5518#5D5518

#5D5518 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.5% C 0.080 H 101.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5D5518
RGBrgb(93, 85, 24)
HSLhsl(53, 59%, 23%)
HSVhsv(53, 74%, 36%)
CMYKcmyk(0%, 8.6%, 74.2%, 63.5%)
CIE-LABlab(35.77, -4.69, 35.10)
CIE-LCHlch(35.77, 35.41, 97.62°)
OKLaboklab(44.47% -0.0163 0.0785)
OKLCHoklch(44.47% 0.08 101.7)
XYZxyz(7.9279, 8.8904, 2.1624)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5518 #18205D
analogous
#5D3218 #5D5518 #425D18
triadic
#5D5518 #185D55 #55185D
tetradic
#5D5518 #185D32 #18205D #5D1842
square
#5D5518 #185D32 #18205D #5D1842
split-complementary
#5D5518 #18425D #32185D
monochromatic
#181606 #2C290B #5D5518 #8E8125 #BEAE31

Accessibility & contrast

On white

7.56
#5D5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5518
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5518#FFFFFF#000000##FFFFFF
##5D55181.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#654F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d5518;
/* rgb */ color: rgb(93, 85, 24);
/* oklch */ color: oklch(44.5% 0.080 101.7);
Tailwind
colors: {
  custom: {
    50: '#8d8459',
    500: '#5d5518',
    950: '#000000',
  },
}
SCSS
$custom: #5d5518;
$custom-light: #8d8459;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5518",
  "rgb": {
    "r": 93,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 53.043,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.08012,
    "h": 101.7
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#5D5518
secondary
#3D4793
accent
#58E246
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5D5518

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

Preview Lab → · Contrast checker → · Palette generator →

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