#5C4F11#5C4F11

#5C4F11 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.9% C 0.080 H 96.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5C4F11
RGBrgb(92, 79, 17)
HSLhsl(50, 69%, 21%)
HSVhsv(50, 82%, 36%)
CMYKcmyk(0%, 14.1%, 81.5%, 63.9%)
CIE-LABlab(33.79, -1.97, 36.14)
CIE-LCHlch(33.79, 36.19, 93.12°)
OKLaboklab(42.86% -0.0093 0.0792)
OKLCHoklch(42.86% 0.08 96.7)
XYZxyz(7.3112, 7.9081, 1.6715)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4F11 #111E5C
analogous
#5C2A11 #5C4F11 #445C11
triadic
#5C4F11 #115C4F #4F115C
tetradic
#5C4F11 #115C2A #111E5C #5C1144
square
#5C4F11 #115C2A #111E5C #5C1144
split-complementary
#5C4F11 #11445C #2A115C
monochromatic
#1A1605 #282307 #5C4F11 #907B1B #C3A824

Accessibility & contrast

On white

8.13
#5C4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C4F11
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4F11#FFFFFF#000000##FFFFFF
##5C4F111.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c4f11;
/* rgb */ color: rgb(92, 79, 17);
/* oklch */ color: oklch(42.9% 0.080 96.7);
Tailwind
colors: {
  custom: {
    50: '#8d8054',
    500: '#5c4f11',
    950: '#000000',
  },
}
SCSS
$custom: #5c4f11;
$custom-light: #8d8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4f11",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 49.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.07975,
    "h": 96.7
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#5C4F11
secondary
#344595
accent
#5BEC3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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