#5A5411#5A5411

#5A5411 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.9% C 0.084 H 104.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5A5411
RGBrgb(90, 84, 17)
HSLhsl(55, 68%, 21%)
HSVhsv(55, 81%, 35%)
CMYKcmyk(0%, 6.7%, 81.1%, 64.7%)
CIE-LABlab(35.11, -5.97, 37.30)
CIE-LCHlch(35.11, 37.77, 99.09°)
OKLaboklab(43.86% -0.0205 0.0818)
OKLCHoklch(43.86% 0.084 104.1)
XYZxyz(7.4883, 8.5551, 1.7871)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5411 #11175A
analogous
#5A2F11 #5A5411 #3B5A11
triadic
#5A5411 #115A54 #54115A
tetradic
#5A5411 #115A2F #11175A #5A113B
square
#5A5411 #115A2F #11175A #5A113B
split-complementary
#5A5411 #113B5A #2F115A
monochromatic
#1A1805 #272407 #5A5411 #8D841B #C1B424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A5411#FFFFFF#000000##FFFFFF
##5A54111.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)
#5C5104
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#614E47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a5411;
/* rgb */ color: rgb(90, 84, 17);
/* oklch */ color: oklch(43.9% 0.084 104.1);
Tailwind
colors: {
  custom: {
    50: '#8b8355',
    500: '#5a5411',
    950: '#000000',
  },
}
SCSS
$custom: #5a5411;
$custom-light: #8b8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5411",
  "rgb": {
    "r": 90,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 55.068,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.0843,
    "h": 104.1
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#5A5411
secondary
#343C93
accent
#4BEB3D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5411

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

Preview Lab → · Contrast checker → · Palette generator →

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