#5A5514#5A5514

#5A5514 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.083 H 104.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5A5514
RGBrgb(90, 85, 20)
HSLhsl(56, 64%, 22%)
HSVhsv(56, 78%, 35%)
CMYKcmyk(0%, 5.6%, 77.8%, 64.7%)
CIE-LABlab(35.44, -6.41, 36.41)
CIE-LCHlch(35.44, 36.97, 99.98°)
OKLaboklab(44.13% -0.0214 0.0805)
OKLCHoklch(44.13% 0.083 104.9)
XYZxyz(7.5915, 8.7215, 1.9452)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5514 #14195A
analogous
#5A3214 #5A5514 #3C5A14
triadic
#5A5514 #145A55 #55145A
tetradic
#5A5514 #145A32 #14195A #5A143C
square
#5A5514 #145A32 #14195A #5A143C
split-complementary
#5A5514 #143C5A #32145A
monochromatic
#191806 #282609 #5A5514 #8C841F #BEB42A

Accessibility & contrast

On white

7.65
#5A5514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5A5514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5514
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5514#FFFFFF#000000##FFFFFF
##5A55141.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5209
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#614F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a5514;
/* rgb */ color: rgb(90, 85, 20);
/* oklch */ color: oklch(44.1% 0.083 104.9);
Tailwind
colors: {
  custom: {
    50: '#8b8457',
    500: '#5a5514',
    950: '#000000',
  },
}
SCSS
$custom: #5a5514;
$custom-light: #8b8457;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5514",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 20
  },
  "hsl": {
    "h": 55.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.08332,
    "h": 104.9
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#5A5514
secondary
#383E92
accent
#4DE741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5514

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

Preview Lab → · Contrast checker → · Palette generator →

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