#5A4C0F#5A4C0F

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

Color values

HEX#5A4C0F
RGBrgb(90, 76, 15)
HSLhsl(49, 71%, 21%)
HSVhsv(49, 83%, 35%)
CMYKcmyk(0%, 15.6%, 83.3%, 64.7%)
CIE-LABlab(32.65, -1.25, 35.80)
CIE-LCHlch(32.65, 35.82, 92.00°)
OKLaboklab(41.9% -0.0074 0.0781)
OKLCHoklch(41.9% 0.078 95.4)
XYZxyz(6.8875, 7.3774, 1.5131)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4C0F #0F1D5A
analogous
#5A260F #5A4C0F #425A0F
triadic
#5A4C0F #0F5A4C #4C0F5A
tetradic
#5A4C0F #0F5A26 #0F1D5A #5A0F42
square
#5A4C0F #0F5A26 #0F1D5A #5A0F42
split-complementary
#5A4C0F #0F425A #260F5A
monochromatic
#1A1604 #262006 #5A4C0F #8E7818 #C3A520

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A4C0F#FFFFFF#000000##FFFFFF
##5A4C0F1.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)
#554A04
Deuteranopia (green-blind)
#584F13
Tritanopia (blue-blind)
#624540
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a4c0f;
/* rgb */ color: rgb(90, 76, 15);
/* oklch */ color: oklch(41.9% 0.078 95.4);
Tailwind
colors: {
  custom: {
    50: '#8c7d53',
    500: '#5a4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a4c0f;
$custom-light: #8c7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4c0f",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 48.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.07847,
    "h": 95.4
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#5A4C0F
secondary
#314494
accent
#5BEE3A
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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