#5C4E0F#5C4E0F

#5C4E0F is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.080 H 95.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5C4E0F
RGBrgb(92, 78, 15)
HSLhsl(49, 72%, 21%)
HSVhsv(49, 84%, 36%)
CMYKcmyk(0%, 15.2%, 83.7%, 63.9%)
CIE-LABlab(33.48, -1.46, 36.64)
CIE-LCHlch(33.48, 36.66, 92.28°)
OKLaboklab(42.61% -0.0081 0.0798)
OKLCHoklch(42.61% 0.08 95.8)
XYZxyz(7.2246, 7.7590, 1.5689)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E0F #0F1D5C
analogous
#5C270F #5C4E0F #435C0F
triadic
#5C4E0F #0F5C4E #4E0F5C
tetradic
#5C4E0F #0F5C27 #0F1D5C #5C0F43
square
#5C4E0F #0F5C27 #0F1D5C #5C0F43
split-complementary
#5C4E0F #0F435C #270F5C
monochromatic
#1A1604 #272106 #5C4E0F #917B18 #C5A720

Accessibility & contrast

On white

8.23
#5C4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C4E0F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E0F#FFFFFF#000000##FFFFFF
##5C4E0F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#644742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4e0f;
/* rgb */ color: rgb(92, 78, 15);
/* oklch */ color: oklch(42.6% 0.080 95.8);
Tailwind
colors: {
  custom: {
    50: '#8d7f53',
    500: '#5c4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e0f;
$custom-light: #8d7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e0f",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 49.091,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.08021,
    "h": 95.8
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#5C4E0F
secondary
#314495
accent
#5AEF39
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5C4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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