#5D5224#5D5224

#5D5224 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.9% C 0.066 H 96.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5D5224
RGBrgb(93, 82, 36)
HSLhsl(48, 44%, 25%)
HSVhsv(48, 61%, 36%)
CMYKcmyk(0%, 11.8%, 61.3%, 63.5%)
CIE-LABlab(34.98, -2.00, 28.21)
CIE-LCHlch(34.98, 28.29, 94.06°)
OKLaboklab(43.88% -0.007 0.0658)
OKLCHoklch(43.88% 0.066 96.1)
XYZxyz(7.8502, 8.4895, 2.8939)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5224 #242F5D
analogous
#5D3524 #5D5224 #4B5D24
triadic
#5D5224 #245D52 #52245D
tetradic
#5D5224 #245D35 #242F5D #5D244B
square
#5D5224 #245D35 #242F5D #5D244B
split-complementary
#5D5224 #244B5D #35245D
monochromatic
#161309 #312B13 #5D5224 #897935 #B5A046

Accessibility & contrast

On white

7.78
#5D5224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5D5224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5224
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5224#FFFFFF#000000##FFFFFF
##5D52241.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5020
Deuteranopia (green-blind)
#5D5426
Tritanopia (blue-blind)
#644C48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d5224;
/* rgb */ color: rgb(93, 82, 36);
/* oklch */ color: oklch(43.9% 0.066 96.1);
Tailwind
colors: {
  custom: {
    50: '#8d8260',
    500: '#5d5224',
    950: '#000000',
  },
}
SCSS
$custom: #5d5224;
$custom-light: #8d8260;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5224",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 36
  },
  "hsl": {
    "h": 48.421,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43884,
    "c": 0.06616,
    "h": 96.1
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#5D5224
secondary
#4C5991
accent
#6DD454
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A05
muted
#7D7C79

Preview Lab

Preview with #5D5224

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

Preview Lab → · Contrast checker → · Palette generator →

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