#5A4B10#5A4B10

#5A4B10 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.7% C 0.077 H 94.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#5A4B10
RGBrgb(90, 75, 16)
HSLhsl(48, 70%, 21%)
HSVhsv(48, 82%, 35%)
CMYKcmyk(0%, 16.7%, 82.2%, 64.7%)
CIE-LABlab(32.36, -0.59, 35.12)
CIE-LCHlch(32.36, 35.13, 90.96°)
OKLaboklab(41.67% -0.0054 0.0769)
OKLCHoklch(41.67% 0.077 94)
XYZxyz(6.8264, 7.2436, 1.5287)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4B10 #101F5A
analogous
#5A2610 #5A4B10 #445A10
triadic
#5A4B10 #105A4B #4B105A
tetradic
#5A4B10 #105A26 #101F5A #5A1044
square
#5A4B10 #105A26 #101F5A #5A1044
split-complementary
#5A4B10 #10445A #26105A
monochromatic
#1A1605 #262007 #5A4B10 #8E7619 #C2A222

Accessibility & contrast

On white

8.58
#5A4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5A4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4B10
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4B10#FFFFFF#000000##FFFFFF
##5A4B101.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544905
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#624440
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5a4b10;
/* rgb */ color: rgb(90, 75, 16);
/* oklch */ color: oklch(41.7% 0.077 94.0);
Tailwind
colors: {
  custom: {
    50: '#8c7d53',
    500: '#5a4b10',
    950: '#000000',
  },
}
SCSS
$custom: #5a4b10;
$custom-light: #8c7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4b10",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 47.838,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.0771,
    "h": 94
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#5A4B10
secondary
#334693
accent
#5FED3B
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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