#5A4A0F#5A4A0F

#5A4A0F is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.4% C 0.077 H 92.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5A4A0F
RGBrgb(90, 74, 15)
HSLhsl(47, 71%, 21%)
HSVhsv(47, 83%, 35%)
CMYKcmyk(0%, 17.8%, 83.3%, 64.7%)
CIE-LABlab(32.05, -0.02, 35.24)
CIE-LCHlch(32.05, 35.24, 90.04°)
OKLaboklab(41.42% -0.0039 0.0769)
OKLCHoklch(41.42% 0.077 92.9)
XYZxyz(6.7518, 7.1061, 1.4678)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4A0F #0F1F5A
analogous
#5A240F #5A4A0F #445A0F
triadic
#5A4A0F #0F5A4A #4A0F5A
tetradic
#5A4A0F #0F5A24 #0F1F5A #5A0F44
square
#5A4A0F #0F5A24 #0F1F5A #5A0F44
split-complementary
#5A4A0F #0F445A #240F5A
monochromatic
#1A1604 #261F06 #5A4A0F #8E7518 #C3A020

Accessibility & contrast

On white

8.67
#5A4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5A4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4A0F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4A0F#FFFFFF#000000##FFFFFF
##5A4A0F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#62433F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5a4a0f;
/* rgb */ color: rgb(90, 74, 15);
/* oklch */ color: oklch(41.4% 0.077 92.9);
Tailwind
colors: {
  custom: {
    50: '#8c7c53',
    500: '#5a4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a4a0f;
$custom-light: #8c7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4a0f",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 47.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.07702,
    "h": 92.9
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#5A4A0F
secondary
#314694
accent
#60EE3A
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #5A4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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