#5A4E1A#5A4E1A

#5A4E1A is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.072 H 96.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#5A4E1A
RGBrgb(90, 78, 26)
HSLhsl(49, 55%, 23%)
HSVhsv(49, 71%, 35%)
CMYKcmyk(0%, 13.3%, 71.1%, 64.7%)
CIE-LABlab(33.34, -1.84, 31.55)
CIE-LCHlch(33.34, 31.60, 93.34°)
OKLaboklab(42.48% -0.0077 0.0714)
OKLCHoklch(42.48% 0.072 96.1)
XYZxyz(7.1276, 7.6974, 2.0874)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E1A #1A265A
analogous
#5A2E1A #5A4E1A #465A1A
triadic
#5A4E1A #1A5A4E #4E1A5A
tetradic
#5A4E1A #1A5A2E #1A265A #5A1A46
square
#5A4E1A #1A5A2E #1A265A #5A1A46
split-complementary
#5A4E1A #1A465A #2E1A5A
monochromatic
#181507 #2B250C #5A4E1A #897728 #B9A035

Accessibility & contrast

On white

8.27
#5A4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4E1A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E1A#FFFFFF#000000##FFFFFF
##5A4E1A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#614843
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e1a;
/* rgb */ color: rgb(90, 78, 26);
/* oklch */ color: oklch(42.5% 0.072 96.1);
Tailwind
colors: {
  custom: {
    50: '#8b7f59',
    500: '#5a4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e1a;
$custom-light: #8b7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e1a",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 48.75,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.07184,
    "h": 96.1
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#5A4E1A
secondary
#404F90
accent
#65DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5A4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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