#5D522B#5D522B

#5D522B is a dark, muted yellow. Relative luminance 0.085; OKLCH L 44.0% C 0.058 H 94.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5D522B
RGBrgb(93, 82, 43)
HSLhsl(47, 37%, 27%)
HSVhsv(47, 54%, 36%)
CMYKcmyk(0%, 11.8%, 53.8%, 63.5%)
CIE-LABlab(35.08, -1.33, 24.39)
CIE-LCHlch(35.08, 24.43, 93.12°)
OKLaboklab(43.99% -0.0041 0.0582)
OKLCHoklch(43.99% 0.058 94)
XYZxyz(7.9678, 8.5365, 3.5130)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D522B #2B365D
analogous
#5D392B #5D522B #4F5D2B
triadic
#5D522B #2B5D52 #522B5D
tetradic
#5D522B #2B5D39 #2B365D #5D2B4F
square
#5D522B #2B5D39 #2B365D #5D2B4F
split-complementary
#5D522B #2B4F5D #392B5D
monochromatic
#15120A #332D18 #5D522B #87773E #AF9B53

Accessibility & contrast

On white

7.76
#5D522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D522B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D522B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D522B#FFFFFF#000000##FFFFFF
##5D522B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595128
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#644D49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d522b;
/* rgb */ color: rgb(93, 82, 43);
/* oklch */ color: oklch(44.0% 0.058 94.0);
Tailwind
colors: {
  custom: {
    50: '#8c8265',
    500: '#5d522b',
    950: '#000000',
  },
}
SCSS
$custom: #5d522b;
$custom-light: #8c8265;
$custom-dark: #000000;
JSON
{
  "hex": "#5d522b",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 46.8,
    "s": 36.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.05836,
    "h": 94
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#5D522B
secondary
#55618F
accent
#74CD5B
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0C0A05
muted
#7D7C7A

Preview Lab

Preview with #5D522B

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

Preview Lab → · Contrast checker → · Palette generator →

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