#5A581D#5A581D

#5A581D is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.079 H 107.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5A581D
RGBrgb(90, 88, 29)
HSLhsl(58, 51%, 23%)
HSVhsv(58, 68%, 35%)
CMYKcmyk(0%, 2.2%, 67.8%, 64.7%)
CIE-LABlab(36.45, -7.60, 33.37)
CIE-LCHlch(36.45, 34.22, 102.83°)
OKLaboklab(44.95% -0.0237 0.0758)
OKLCHoklch(44.95% 0.079 107.3)
XYZxyz(7.9282, 9.2421, 2.5284)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A581D #1D1F5A
analogous
#5A391D #5A581D #3D5A1D
triadic
#5A581D #1D5A58 #581D5A
tetradic
#5A581D #1D5A39 #1D1F5A #5A1D3D
square
#5A581D #1D5A39 #1D1F5A #5A1D3D
split-complementary
#5A581D #1D3D5A #391D5A
monochromatic
#171707 #2C2B0E #5A581D #88852C #B7B33B

Accessibility & contrast

On white

7.37
#5A581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5A581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A581D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A581D#FFFFFF#000000##FFFFFF
##5A581D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605416
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#61524C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5a581d;
/* rgb */ color: rgb(90, 88, 29);
/* oklch */ color: oklch(45.0% 0.079 107.3);
Tailwind
colors: {
  custom: {
    50: '#8b865c',
    500: '#5a581d',
    950: '#000000',
  },
}
SCSS
$custom: #5a581d;
$custom-light: #8b865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a581d",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 58.033,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.07941,
    "h": 107.3
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#5A581D
secondary
#44468F
accent
#52DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A581D

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

Preview Lab → · Contrast checker → · Palette generator →

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