#5A4D10#5A4D10

#5A4D10 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.1% C 0.079 H 96.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5A4D10
RGBrgb(90, 77, 16)
HSLhsl(49, 70%, 21%)
HSVhsv(49, 82%, 35%)
CMYKcmyk(0%, 14.4%, 82.2%, 64.7%)
CIE-LABlab(32.96, -1.81, 35.69)
CIE-LCHlch(32.96, 35.73, 92.91°)
OKLaboklab(42.15% -0.0089 0.0781)
OKLCHoklch(42.15% 0.079 96.5)
XYZxyz(6.9642, 7.5192, 1.5746)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4D10 #101D5A
analogous
#5A2810 #5A4D10 #425A10
triadic
#5A4D10 #105A4D #4D105A
tetradic
#5A4D10 #105A28 #101D5A #5A1042
square
#5A4D10 #105A28 #101D5A #5A1042
split-complementary
#5A4D10 #10425A #28105A
monochromatic
#1A1605 #262107 #5A4D10 #8E7919 #C2A622

Accessibility & contrast

On white

8.39
#5A4D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5A4D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4D10
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4D10#FFFFFF#000000##FFFFFF
##5A4D101.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#624641
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a4d10;
/* rgb */ color: rgb(90, 77, 16);
/* oklch */ color: oklch(42.1% 0.079 96.5);
Tailwind
colors: {
  custom: {
    50: '#8c7e54',
    500: '#5a4d10',
    950: '#000000',
  },
}
SCSS
$custom: #5a4d10;
$custom-light: #8c7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4d10",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 49.459,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.07861,
    "h": 96.5
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#5A4D10
secondary
#334493
accent
#5AED3B
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4D10

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

Preview Lab → · Contrast checker → · Palette generator →

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