#5A4E1E#5A4E1E

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

Color values

HEX#5A4E1E
RGBrgb(90, 78, 30)
HSLhsl(48, 50%, 24%)
HSVhsv(48, 67%, 35%)
CMYKcmyk(0%, 13.3%, 66.7%, 64.7%)
CIE-LABlab(33.39, -1.55, 29.55)
CIE-LCHlch(33.39, 29.59, 93.00°)
OKLaboklab(42.52% -0.0063 0.0679)
OKLCHoklch(42.52% 0.068 95.3)
XYZxyz(7.1755, 7.7165, 2.3395)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E1E #1E2A5A
analogous
#5A301E #5A4E1E #485A1E
triadic
#5A4E1E #1E5A4E #4E1E5A
tetradic
#5A4E1E #1E5A30 #1E2A5A #5A1E48
square
#5A4E1E #1E5A30 #1E2A5A #5A1E48
split-complementary
#5A4E1E #1E485A #301E5A
monochromatic
#171408 #2C260F #5A4E1E #88762D #B69E3D

Accessibility & contrast

On white

8.26
#5A4E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4E1E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E1E#FFFFFF#000000##FFFFFF
##5A4E1E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C19
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#614844
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e1e;
/* rgb */ color: rgb(90, 78, 30);
/* oklch */ color: oklch(42.5% 0.068 95.3);
Tailwind
colors: {
  custom: {
    50: '#8b7f5c',
    500: '#5a4e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e1e;
$custom-light: #8b7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e1e",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 48,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.06815,
    "h": 95.3
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#5A4E1E
secondary
#45548F
accent
#6ADA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5A4E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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