#5A4D11#5A4D11

#5A4D11 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.2% C 0.078 H 96.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5A4D11
RGBrgb(90, 77, 17)
HSLhsl(49, 68%, 21%)
HSVhsv(49, 81%, 35%)
CMYKcmyk(0%, 14.4%, 81.1%, 64.7%)
CIE-LABlab(32.97, -1.76, 35.29)
CIE-LCHlch(32.97, 35.33, 92.86°)
OKLaboklab(42.16% -0.0086 0.0775)
OKLCHoklch(42.16% 0.078 96.3)
XYZxyz(6.9719, 7.5223, 1.6149)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4D11 #111E5A
analogous
#5A2811 #5A4D11 #425A11
triadic
#5A4D11 #115A4D #4D115A
tetradic
#5A4D11 #115A28 #111E5A #5A1142
square
#5A4D11 #115A28 #111E5A #5A1142
split-complementary
#5A4D11 #11425A #28115A
monochromatic
#1A1605 #272107 #5A4D11 #8D791B #C1A524

Accessibility & contrast

On white

8.39
#5A4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5A4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4D11
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4D11#FFFFFF#000000##FFFFFF
##5A4D111.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#624641
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4d11;
/* rgb */ color: rgb(90, 77, 17);
/* oklch */ color: oklch(42.2% 0.078 96.3);
Tailwind
colors: {
  custom: {
    50: '#8c7e54',
    500: '#5a4d11',
    950: '#000000',
  },
}
SCSS
$custom: #5a4d11;
$custom-light: #8c7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4d11",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 49.315,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.07797,
    "h": 96.3
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#5A4D11
secondary
#344593
accent
#5CEB3D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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