#5A4E27#5A4E27

#5A4E27 is a dark, muted yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.059 H 92.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5A4E27
RGBrgb(90, 78, 39)
HSLhsl(46, 40%, 25%)
HSVhsv(46, 57%, 35%)
CMYKcmyk(0%, 13.3%, 56.7%, 64.7%)
CIE-LABlab(33.50, -0.75, 24.71)
CIE-LCHlch(33.50, 24.72, 91.73°)
OKLaboklab(42.65% -0.0027 0.0586)
OKLCHoklch(42.65% 0.059 92.7)
XYZxyz(7.3073, 7.7693, 3.0338)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E27 #27335A
analogous
#5A3427 #5A4E27 #4C5A27
triadic
#5A4E27 #275A4E #4E275A
tetradic
#5A4E27 #275A34 #27335A #5A274C
square
#5A4E27 #275A34 #27335A #5A274C
split-complementary
#5A4E27 #274C5A #34275A
monochromatic
#151309 #2F2914 #5A4E27 #85733A #AF984C

Accessibility & contrast

On white

8.22
#5A4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5A4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E27
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E27#FFFFFF#000000##FFFFFF
##5A4E271.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D24
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#614945
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5a4e27;
/* rgb */ color: rgb(90, 78, 39);
/* oklch */ color: oklch(42.6% 0.059 92.7);
Tailwind
colors: {
  custom: {
    50: '#8a7f62',
    500: '#5a4e27',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e27;
$custom-light: #8a7f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e27",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 45.882,
    "s": 39.535,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.05864,
    "h": 92.7
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#5A4E27
secondary
#505E8D
accent
#74CF58
background
#F8F7F5
surface
#F0EEEA
border
#CBC9C6
text
#0C0A05
muted
#7D7C79

Preview Lab

Preview with #5A4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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