#5A5714#5A5714

#5A5714 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.085 H 106.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5A5714
RGBrgb(90, 87, 20)
HSLhsl(57, 64%, 22%)
HSVhsv(57, 78%, 35%)
CMYKcmyk(0%, 3.3%, 77.8%, 64.7%)
CIE-LABlab(36.06, -7.58, 37.01)
CIE-LCHlch(36.06, 37.78, 101.58°)
OKLaboklab(44.62% -0.0247 0.0818)
OKLCHoklch(44.62% 0.085 106.8)
XYZxyz(7.7512, 9.0408, 1.9984)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5714 #14175A
analogous
#5A3414 #5A5714 #3A5A14
triadic
#5A5714 #145A57 #57145A
tetradic
#5A5714 #145A34 #14175A #5A143A
square
#5A5714 #145A34 #14175A #5A143A
split-complementary
#5A5714 #143A5A #34145A
monochromatic
#191806 #282709 #5A5714 #8C871F #BEB82A

Accessibility & contrast

On white

7.48
#5A5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5A5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5714
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5714#FFFFFF#000000##FFFFFF
##5A57141.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5308
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#61514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a5714;
/* rgb */ color: rgb(90, 87, 20);
/* oklch */ color: oklch(44.6% 0.085 106.8);
Tailwind
colors: {
  custom: {
    50: '#8b8657',
    500: '#5a5714',
    950: '#000000',
  },
}
SCSS
$custom: #5a5714;
$custom-light: #8b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5714",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 57.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.08543,
    "h": 106.8
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#5A5714
secondary
#383C92
accent
#48E741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5714

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

Preview Lab → · Contrast checker → · Palette generator →

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