#5C4F0F#5C4F0F

#5C4F0F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.081 H 97.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5C4F0F
RGBrgb(92, 79, 15)
HSLhsl(50, 72%, 21%)
HSVhsv(50, 84%, 36%)
CMYKcmyk(0%, 14.1%, 83.7%, 63.9%)
CIE-LABlab(33.78, -2.06, 36.91)
CIE-LCHlch(33.78, 36.97, 93.20°)
OKLaboklab(42.85% -0.0098 0.0804)
OKLCHoklch(42.85% 0.081 97)
XYZxyz(7.2962, 7.9022, 1.5928)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4F0F #0F1C5C
analogous
#5C280F #5C4F0F #425C0F
triadic
#5C4F0F #0F5C4F #4F0F5C
tetradic
#5C4F0F #0F5C28 #0F1C5C #5C0F42
square
#5C4F0F #0F5C28 #0F1C5C #5C0F42
split-complementary
#5C4F0F #0F425C #280F5C
monochromatic
#1A1704 #272206 #5C4F0F #917C18 #C5A920

Accessibility & contrast

On white

8.14
#5C4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5C4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4F0F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4F0F#FFFFFF#000000##FFFFFF
##5C4F0F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D03
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#644843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4f0f;
/* rgb */ color: rgb(92, 79, 15);
/* oklch */ color: oklch(42.8% 0.081 97.0);
Tailwind
colors: {
  custom: {
    50: '#8d8053',
    500: '#5c4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c4f0f;
$custom-light: #8d8053;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4f0f",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 49.87,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.08099,
    "h": 97
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#5C4F0F
secondary
#314295
accent
#58EF39
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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