#5A5013#5A5013

#5A5013 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.079 H 99.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5A5013
RGBrgb(90, 80, 19)
HSLhsl(52, 65%, 21%)
HSVhsv(52, 79%, 35%)
CMYKcmyk(0%, 11.1%, 78.9%, 64.7%)
CIE-LABlab(33.90, -3.48, 35.34)
CIE-LCHlch(33.90, 35.51, 95.62°)
OKLaboklab(42.9% -0.0132 0.078)
OKLCHoklch(42.9% 0.079 99.6)
XYZxyz(7.2030, 7.9583, 1.7727)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5013 #131D5A
analogous
#5A2D13 #5A5013 #415A13
triadic
#5A5013 #135A50 #50135A
tetradic
#5A5013 #135A2D #131D5A #5A1341
square
#5A5013 #135A2D #131D5A #5A1341
split-complementary
#5A5013 #13415A #2D135A
monochromatic
#191605 #272308 #5A5013 #8D7D1E #BFAA28

Accessibility & contrast

On white

8.10
#5A5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5A5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5013
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5013#FFFFFF#000000##FFFFFF
##5A50131.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E09
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#624A44
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5a5013;
/* rgb */ color: rgb(90, 80, 19);
/* oklch */ color: oklch(42.9% 0.079 99.6);
Tailwind
colors: {
  custom: {
    50: '#8b8056',
    500: '#5a5013',
    950: '#000000',
  },
}
SCSS
$custom: #5a5013;
$custom-light: #8b8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5013",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 51.549,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.07916,
    "h": 99.6
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#5A5013
secondary
#374492
accent
#57E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5013

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

Preview Lab → · Contrast checker → · Palette generator →

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