#5A4D13#5A4D13

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

Color values

HEX#5A4D13
RGBrgb(90, 77, 19)
HSLhsl(49, 65%, 21%)
HSVhsv(49, 79%, 35%)
CMYKcmyk(0%, 14.4%, 78.9%, 64.7%)
CIE-LABlab(32.98, -1.66, 34.45)
CIE-LCHlch(32.98, 34.49, 92.76°)
OKLaboklab(42.17% -0.0081 0.0762)
OKLCHoklch(42.17% 0.077 96.1)
XYZxyz(6.9882, 7.5288, 1.7011)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4D13 #13205A
analogous
#5A2A13 #5A4D13 #445A13
triadic
#5A4D13 #135A4D #4D135A
tetradic
#5A4D13 #135A2A #13205A #5A1344
square
#5A4D13 #135A2A #13205A #5A1344
split-complementary
#5A4D13 #13445A #2A135A
monochromatic
#191605 #272208 #5A4D13 #8D781E #BFA328

Accessibility & contrast

On white

8.38
#5A4D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5A4D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4D13
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4D13#FFFFFF#000000##FFFFFF
##5A4D131.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B09
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#624642
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4d13;
/* rgb */ color: rgb(90, 77, 19);
/* oklch */ color: oklch(42.2% 0.077 96.1);
Tailwind
colors: {
  custom: {
    50: '#8b7e55',
    500: '#5a4d13',
    950: '#000000',
  },
}
SCSS
$custom: #5a4d13;
$custom-light: #8b7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4d13",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 49.014,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.07659,
    "h": 96.1
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#5A4D13
secondary
#374792
accent
#5FE840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4D13

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

Preview Lab → · Contrast checker → · Palette generator →

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