#5D5219#5D5219

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

Color values

HEX#5D5219
RGBrgb(93, 82, 25)
HSLhsl(50, 58%, 23%)
HSVhsv(50, 73%, 36%)
CMYKcmyk(0%, 11.8%, 73.1%, 63.5%)
CIE-LABlab(34.87, -2.84, 33.72)
CIE-LCHlch(34.87, 33.84, 94.81°)
OKLaboklab(43.76% -0.0109 0.0757)
OKLCHoklch(43.76% 0.077 98.2)
XYZxyz(7.7073, 8.4323, 2.1411)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5219 #19245D
analogous
#5D3019 #5D5219 #465D19
triadic
#5D5219 #195D52 #52195D
tetradic
#5D5219 #195D30 #19245D #5D1946
square
#5D5219 #195D30 #19245D #5D1946
split-complementary
#5D5219 #19465D #30195D
monochromatic
#181506 #2D270C #5D5219 #8D7D26 #BDA733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5219#FFFFFF#000000##FFFFFF
##5D52191.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)
#5B5011
Deuteranopia (green-blind)
#5D541C
Tritanopia (blue-blind)
#654C46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d5219;
/* rgb */ color: rgb(93, 82, 25);
/* oklch */ color: oklch(43.8% 0.076 98.2);
Tailwind
colors: {
  custom: {
    50: '#8d8259',
    500: '#5d5219',
    950: '#000000',
  },
}
SCSS
$custom: #5d5219;
$custom-light: #8d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5219",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 50.294,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.0765,
    "h": 98.2
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#5D5219
secondary
#3F4C93
accent
#60E147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5D5219

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

Preview Lab → · Contrast checker → · Palette generator →

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