#5A4C10#5A4C10

#5A4C10 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.9% C 0.078 H 95.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#5A4C10
RGBrgb(90, 76, 16)
HSLhsl(49, 70%, 21%)
HSVhsv(49, 82%, 35%)
CMYKcmyk(0%, 15.6%, 82.2%, 64.7%)
CIE-LABlab(32.66, -1.20, 35.40)
CIE-LCHlch(32.66, 35.43, 91.95°)
OKLaboklab(41.91% -0.0071 0.0775)
OKLCHoklch(41.91% 0.078 95.3)
XYZxyz(6.8948, 7.3803, 1.5515)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4C10 #101E5A
analogous
#5A2710 #5A4C10 #435A10
triadic
#5A4C10 #105A4C #4C105A
tetradic
#5A4C10 #105A27 #101E5A #5A1043
square
#5A4C10 #105A27 #101E5A #5A1043
split-complementary
#5A4C10 #10435A #27105A
monochromatic
#1A1605 #262007 #5A4C10 #8E7819 #C2A422

Accessibility & contrast

On white

8.48
#5A4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5A4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4C10
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4C10#FFFFFF#000000##FFFFFF
##5A4C101.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#624540
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a4c10;
/* rgb */ color: rgb(90, 76, 16);
/* oklch */ color: oklch(41.9% 0.078 95.3);
Tailwind
colors: {
  custom: {
    50: '#8c7d54',
    500: '#5a4c10',
    950: '#000000',
  },
}
SCSS
$custom: #5a4c10;
$custom-light: #8c7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4c10",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 48.649,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.07784,
    "h": 95.3
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#5A4C10
secondary
#334593
accent
#5DED3B
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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