#5D522C#5D522C

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

Color values

HEX#5D522C
RGBrgb(93, 82, 44)
HSLhsl(47, 36%, 27%)
HSVhsv(47, 53%, 36%)
CMYKcmyk(0%, 11.8%, 52.7%, 63.5%)
CIE-LABlab(35.09, -1.22, 23.83)
CIE-LCHlch(35.09, 23.86, 92.93°)
OKLaboklab(44.01% -0.0037 0.0571)
OKLCHoklch(44.01% 0.057 93.7)
XYZxyz(7.9864, 8.5439, 3.6108)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D522C #2C375D
analogous
#5D3A2C #5D522C #505D2C
triadic
#5D522C #2C5D52 #522C5D
tetradic
#5D522C #2C5D3A #2C375D #5D2C50
square
#5D522C #2C5D3A #2C375D #5D2C50
split-complementary
#5D522C #2C505D #3A2C5D
monochromatic
#15120A #332D18 #5D522C #877740 #AF9A55

Accessibility & contrast

On white

7.75
#5D522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D522C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D522C#FFFFFF#000000##FFFFFF
##5D522C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d522c;
/* rgb */ color: rgb(93, 82, 44);
/* oklch */ color: oklch(44.0% 0.057 93.7);
Tailwind
colors: {
  custom: {
    50: '#8c8266',
    500: '#5d522c',
    950: '#000000',
  },
}
SCSS
$custom: #5d522c;
$custom-light: #8c8266;
$custom-dark: #000000;
JSON
{
  "hex": "#5d522c",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 46.531,
    "s": 35.766,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44005,
    "c": 0.05718,
    "h": 93.7
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#5D522C
secondary
#56638F
accent
#75CC5C
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0C0A06
muted
#7D7C7A

Preview Lab

Preview with #5D522C

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

Preview Lab → · Contrast checker → · Palette generator →

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