#5C4F12#5C4F12

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

Color values

HEX#5C4F12
RGBrgb(92, 79, 18)
HSLhsl(49, 67%, 22%)
HSVhsv(49, 80%, 36%)
CMYKcmyk(0%, 14.1%, 80.4%, 63.9%)
CIE-LABlab(33.80, -1.92, 35.74)
CIE-LCHlch(33.80, 35.79, 93.08°)
OKLaboklab(42.87% -0.0091 0.0786)
OKLCHoklch(42.87% 0.079 96.6)
XYZxyz(7.3192, 7.9113, 1.7137)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4F12 #121F5C
analogous
#5C2A12 #5C4F12 #445C12
triadic
#5C4F12 #125C4F #4F125C
tetradic
#5C4F12 #125C2A #121F5C #5C1244
square
#5C4F12 #125C2A #121F5C #5C1244
split-complementary
#5C4F12 #12445C #2A125C
monochromatic
#1A1605 #292308 #5C4F12 #8F7B1C #C2A726

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C4F12#FFFFFF#000000##FFFFFF
##5C4F121.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)
#584D07
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#644843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4f12;
/* rgb */ color: rgb(92, 79, 18);
/* oklch */ color: oklch(42.9% 0.079 96.6);
Tailwind
colors: {
  custom: {
    50: '#8d8055',
    500: '#5c4f12',
    950: '#000000',
  },
}
SCSS
$custom: #5c4f12;
$custom-light: #8d8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4f12",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 49.459,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.07909,
    "h": 96.6
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#5C4F12
secondary
#354694
accent
#5CEA3E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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