#5A4D15#5A4D15

#5A4D15 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.2% C 0.075 H 95.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5A4D15
RGBrgb(90, 77, 21)
HSLhsl(49, 62%, 22%)
HSVhsv(49, 77%, 35%)
CMYKcmyk(0%, 14.4%, 76.7%, 64.7%)
CIE-LABlab(33.00, -1.55, 33.58)
CIE-LCHlch(33.00, 33.61, 92.64°)
OKLaboklab(42.19% -0.0075 0.0747)
OKLCHoklch(42.19% 0.075 95.7)
XYZxyz(7.0060, 7.5359, 1.7949)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4D15 #15225A
analogous
#5A2B15 #5A4D15 #455A15
triadic
#5A4D15 #155A4D #4D155A
tetradic
#5A4D15 #155A2B #15225A #5A1545
square
#5A4D15 #155A2B #15225A #5A1545
split-complementary
#5A4D15 #15455A #2B155A
monochromatic
#191506 #282309 #5A4D15 #8C7721 #BDA22C

Accessibility & contrast

On white

8.38
#5A4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5A4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4D15
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4D15#FFFFFF#000000##FFFFFF
##5A4D151.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0D
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#624742
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4d15;
/* rgb */ color: rgb(90, 77, 21);
/* oklch */ color: oklch(42.2% 0.075 95.7);
Tailwind
colors: {
  custom: {
    50: '#8b7e56',
    500: '#5a4d15',
    950: '#000000',
  },
}
SCSS
$custom: #5a4d15;
$custom-light: #8b7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4d15",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 48.696,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.07511,
    "h": 95.7
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#5A4D15
secondary
#394A92
accent
#61E543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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