#5A5614#5A5614

#5A5614 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.4% C 0.084 H 105.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5A5614
RGBrgb(90, 86, 20)
HSLhsl(57, 64%, 22%)
HSVhsv(57, 78%, 35%)
CMYKcmyk(0%, 4.4%, 77.8%, 64.7%)
CIE-LABlab(35.75, -7.00, 36.71)
CIE-LCHlch(35.75, 37.37, 100.79°)
OKLaboklab(44.37% -0.023 0.0812)
OKLCHoklch(44.37% 0.084 105.9)
XYZxyz(7.6708, 8.8800, 1.9716)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5614 #14185A
analogous
#5A3314 #5A5614 #3B5A14
triadic
#5A5614 #145A56 #56145A
tetradic
#5A5614 #145A33 #14185A #5A143B
square
#5A5614 #145A33 #14185A #5A143B
split-complementary
#5A5614 #143B5A #33145A
monochromatic
#191806 #282609 #5A5614 #8C861F #BEB62A

Accessibility & contrast

On white

7.56
#5A5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5A5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5614
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5614#FFFFFF#000000##FFFFFF
##5A56141.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5308
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#615049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a5614;
/* rgb */ color: rgb(90, 86, 20);
/* oklch */ color: oklch(44.4% 0.084 105.9);
Tailwind
colors: {
  custom: {
    50: '#8b8557',
    500: '#5a5614',
    950: '#000000',
  },
}
SCSS
$custom: #5a5614;
$custom-light: #8b8557;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5614",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 56.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.08436,
    "h": 105.9
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#5A5614
secondary
#383D92
accent
#4BE741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5614

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

Preview Lab → · Contrast checker → · Palette generator →

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