#5A561F#5A561F

#5A561F is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.5% C 0.075 H 105.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5A561F
RGBrgb(90, 86, 31)
HSLhsl(56, 49%, 24%)
HSVhsv(56, 66%, 35%)
CMYKcmyk(0%, 4.4%, 65.6%, 64.7%)
CIE-LABlab(35.85, -6.27, 31.73)
CIE-LCHlch(35.85, 32.34, 101.18°)
OKLaboklab(44.48% -0.0197 0.0727)
OKLCHoklch(44.48% 0.075 105.1)
XYZxyz(7.7918, 8.9284, 2.6090)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A561F #1F235A
analogous
#5A381F #5A561F #405A1F
triadic
#5A561F #1F5A56 #561F5A
tetradic
#5A561F #1F5A38 #1F235A #5A1F40
square
#5A561F #1F5A38 #1F235A #5A1F40
split-complementary
#5A561F #1F405A #381F5A
monochromatic
#171608 #2C2B0F #5A561F #88812F #B5AD3E

Accessibility & contrast

On white

7.54
#5A561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5A561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A561F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A561F#FFFFFF#000000##FFFFFF
##5A561F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5319
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#61504A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a561f;
/* rgb */ color: rgb(90, 86, 31);
/* oklch */ color: oklch(44.5% 0.075 105.1);
Tailwind
colors: {
  custom: {
    50: '#8b855d',
    500: '#5a561f',
    950: '#000000',
  },
}
SCSS
$custom: #5a561f;
$custom-light: #8b855d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a561f",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 55.932,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.07527,
    "h": 105.1
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#5A561F
secondary
#464B8F
accent
#59D84F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A561F

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

Preview Lab → · Contrast checker → · Palette generator →

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