#5A541D#5A541D

#5A541D is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.075 H 103.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5A541D
RGBrgb(90, 84, 29)
HSLhsl(54, 51%, 23%)
HSVhsv(54, 68%, 35%)
CMYKcmyk(0%, 6.7%, 67.8%, 64.7%)
CIE-LABlab(35.21, -5.24, 32.04)
CIE-LCHlch(35.21, 32.47, 99.28°)
OKLaboklab(43.97% -0.017 0.073)
OKLCHoklch(43.97% 0.075 103.1)
XYZxyz(7.6088, 8.6033, 2.4220)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A541D #1D235A
analogous
#5A351D #5A541D #415A1D
triadic
#5A541D #1D5A54 #541D5A
tetradic
#5A541D #1D5A35 #1D235A #5A1D41
square
#5A541D #1D5A35 #1D235A #5A1D41
split-complementary
#5A541D #1D415A #351D5A
monochromatic
#171607 #2C290E #5A541D #887F2C #B7AA3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A541D#FFFFFF#000000##FFFFFF
##5A541D1.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)
#5C5116
Deuteranopia (green-blind)
#5E5420
Tritanopia (blue-blind)
#614E48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a541d;
/* rgb */ color: rgb(90, 84, 29);
/* oklch */ color: oklch(44.0% 0.075 103.1);
Tailwind
colors: {
  custom: {
    50: '#8b835c',
    500: '#5a541d',
    950: '#000000',
  },
}
SCSS
$custom: #5a541d;
$custom-light: #8b835c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a541d",
  "rgb": {
    "r": 90,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 54.098,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.07495,
    "h": 103.1
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#5A541D
secondary
#444B8F
accent
#5BDB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5A541D

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

Preview Lab → · Contrast checker → · Palette generator →

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