#5E522D#5E522D

#5E522D is a dark, muted yellow. Relative luminance 0.086; OKLCH L 44.1% C 0.056 H 92.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5E522D
RGBrgb(94, 82, 45)
HSLhsl(45, 35%, 27%)
HSVhsv(45, 52%, 37%)
CMYKcmyk(0%, 12.8%, 52.1%, 63.1%)
CIE-LABlab(35.21, -0.64, 23.42)
CIE-LCHlch(35.21, 23.43, 91.56°)
OKLaboklab(44.13% -0.0019 0.0562)
OKLCHoklch(44.13% 0.056 92)
XYZxyz(8.1073, 8.6041, 3.7158)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E522D #2D395E
analogous
#5E3A2D #5E522D #525E2D
triadic
#5E522D #2D5E52 #522D5E
tetradic
#5E522D #2D5E3A #2D395E #5E2D52
square
#5E522D #2D5E3A #2D395E #5E2D52
split-complementary
#5E522D #2D525E #3A2D5E
monochromatic
#15120A #352E19 #5E522D #877641 #AF9957

Accessibility & contrast

On white

7.72
#5E522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E522D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E522D#FFFFFF#000000##FFFFFF
##5E522D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512A
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#654D49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e522d;
/* rgb */ color: rgb(94, 82, 45);
/* oklch */ color: oklch(44.1% 0.056 92.0);
Tailwind
colors: {
  custom: {
    50: '#8d8267',
    500: '#5e522d',
    950: '#000000',
  },
}
SCSS
$custom: #5e522d;
$custom-light: #8d8267;
$custom-dark: #000000;
JSON
{
  "hex": "#5e522d",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 45.306,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.05625,
    "h": 92
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#5E522D
secondary
#576590
accent
#78CB5D
background
#F8F7F6
surface
#F0EEEB
border
#CBC9C6
text
#0C0A06
muted
#7D7C7A

Preview Lab

Preview with #5E522D

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

Preview Lab → · Contrast checker → · Palette generator →

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