#5A490F#5A490F

#5A490F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.2% C 0.076 H 91.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#5A490F
RGBrgb(90, 73, 15)
HSLhsl(46, 71%, 21%)
HSVhsv(46, 83%, 35%)
CMYKcmyk(0%, 18.9%, 83.3%, 64.7%)
CIE-LABlab(31.75, 0.59, 34.96)
CIE-LCHlch(31.75, 34.97, 89.03°)
OKLaboklab(41.19% -0.0021 0.0763)
OKLCHoklch(41.19% 0.076 91.6)
XYZxyz(6.6856, 6.9737, 1.4458)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A490F #0F205A
analogous
#5A230F #5A490F #455A0F
triadic
#5A490F #0F5A49 #490F5A
tetradic
#5A490F #0F5A23 #0F205A #5A0F45
square
#5A490F #0F5A23 #0F205A #5A0F45
split-complementary
#5A490F #0F455A #230F5A
monochromatic
#1A1504 #261E06 #5A490F #8E7418 #C39E20

Accessibility & contrast

On white

8.77
#5A490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5A490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A490F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A490F#FFFFFF#000000##FFFFFF
##5A490F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#62423E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5a490f;
/* rgb */ color: rgb(90, 73, 15);
/* oklch */ color: oklch(41.2% 0.076 91.6);
Tailwind
colors: {
  custom: {
    50: '#8c7b53',
    500: '#5a490f',
    950: '#000000',
  },
}
SCSS
$custom: #5a490f;
$custom-light: #8c7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a490f",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 46.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.07636,
    "h": 91.6
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#5A490F
secondary
#314894
accent
#63EE3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #5A490F

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

Preview Lab → · Contrast checker → · Palette generator →

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