#5A4E14#5A4E14

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

Color values

HEX#5A4E14
RGBrgb(90, 78, 20)
HSLhsl(50, 64%, 22%)
HSVhsv(50, 78%, 35%)
CMYKcmyk(0%, 13.3%, 77.8%, 64.7%)
CIE-LABlab(33.29, -2.22, 34.32)
CIE-LCHlch(33.29, 34.39, 93.69°)
OKLaboklab(42.42% -0.0095 0.0761)
OKLCHoklch(42.42% 0.077 97.1)
XYZxyz(7.0675, 7.6733, 1.7705)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E14 #14205A
analogous
#5A2B14 #5A4E14 #435A14
triadic
#5A4E14 #145A4E #4E145A
tetradic
#5A4E14 #145A2B #14205A #5A1443
square
#5A4E14 #145A2B #14205A #5A1443
split-complementary
#5A4E14 #14435A #2B145A
monochromatic
#191606 #282309 #5A4E14 #8C791F #BEA52A

Accessibility & contrast

On white

8.29
#5A4E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5A4E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E14
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E14#FFFFFF#000000##FFFFFF
##5A4E141.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0B
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#624842
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e14;
/* rgb */ color: rgb(90, 78, 20);
/* oklch */ color: oklch(42.4% 0.077 97.1);
Tailwind
colors: {
  custom: {
    50: '#8b7f56',
    500: '#5a4e14',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e14;
$custom-light: #8b7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e14",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 49.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42421,
    "c": 0.07669,
    "h": 97.1
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#5A4E14
secondary
#384792
accent
#5EE741
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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