#5A4B0F#5A4B0F

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

Color values

HEX#5A4B0F
RGBrgb(90, 75, 15)
HSLhsl(48, 71%, 21%)
HSVhsv(48, 83%, 35%)
CMYKcmyk(0%, 16.7%, 83.3%, 64.7%)
CIE-LABlab(32.35, -0.64, 35.52)
CIE-LCHlch(32.35, 35.52, 91.03°)
OKLaboklab(41.66% -0.0056 0.0775)
OKLCHoklch(41.66% 0.078 94.2)
XYZxyz(6.8191, 7.2407, 1.4903)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4B0F #0F1E5A
analogous
#5A250F #5A4B0F #435A0F
triadic
#5A4B0F #0F5A4B #4B0F5A
tetradic
#5A4B0F #0F5A25 #0F1E5A #5A0F43
square
#5A4B0F #0F5A25 #0F1E5A #5A0F43
split-complementary
#5A4B0F #0F435A #250F5A
monochromatic
#1A1604 #261F06 #5A4B0F #8E7718 #C3A220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A4B0F#FFFFFF#000000##FFFFFF
##5A4B0F1.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)
#544904
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#624440
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5a4b0f;
/* rgb */ color: rgb(90, 75, 15);
/* oklch */ color: oklch(41.7% 0.078 94.2);
Tailwind
colors: {
  custom: {
    50: '#8c7d53',
    500: '#5a4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a4b0f;
$custom-light: #8c7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4b0f",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 48,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.07772,
    "h": 94.2
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#5A4B0F
secondary
#314594
accent
#5EEE3A
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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