#5A4E16#5A4E16

#5A4E16 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.075 H 96.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5A4E16
RGBrgb(90, 78, 22)
HSLhsl(49, 61%, 22%)
HSVhsv(49, 76%, 35%)
CMYKcmyk(0%, 13.3%, 75.6%, 64.7%)
CIE-LABlab(33.31, -2.10, 33.43)
CIE-LCHlch(33.31, 33.50, 93.59°)
OKLaboklab(42.44% -0.0089 0.0746)
OKLCHoklch(42.44% 0.075 96.8)
XYZxyz(7.0860, 7.6807, 1.8682)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E16 #16225A
analogous
#5A2C16 #5A4E16 #445A16
triadic
#5A4E16 #165A4E #4E165A
tetradic
#5A4E16 #165A2C #16225A #5A1644
square
#5A4E16 #165A2C #16225A #5A1644
split-complementary
#5A4E16 #16445A #2C165A
monochromatic
#191506 #29230A #5A4E16 #8B7922 #BCA32E

Accessibility & contrast

On white

8.28
#5A4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5A4E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E16
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E16#FFFFFF#000000##FFFFFF
##5A4E161.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0E
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#624843
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e16;
/* rgb */ color: rgb(90, 78, 22);
/* oklch */ color: oklch(42.4% 0.075 96.8);
Tailwind
colors: {
  custom: {
    50: '#8b7f57',
    500: '#5a4e16',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e16;
$custom-light: #8b7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e16",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 49.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.07516,
    "h": 96.8
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#5A4E16
secondary
#3B4A91
accent
#60E444
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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