#5B4C12#5B4C12

#5B4C12 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 42.0% C 0.077 H 93.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5B4C12
RGBrgb(91, 76, 18)
HSLhsl(48, 67%, 21%)
HSVhsv(48, 80%, 36%)
CMYKcmyk(0%, 16.5%, 80.2%, 64.3%)
CIE-LABlab(32.78, -0.60, 34.73)
CIE-LCHlch(32.78, 34.73, 90.99°)
OKLaboklab(42.04% -0.0052 0.0765)
OKLCHoklch(42.04% 0.077 93.9)
XYZxyz(7.0084, 7.4371, 1.6385)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4C12 #12215B
analogous
#5B2812 #5B4C12 #465B12
triadic
#5B4C12 #125B4C #4C125B
tetradic
#5B4C12 #125B28 #12215B #5B1246
square
#5B4C12 #125B28 #12215B #5B1246
split-complementary
#5B4C12 #12465B #28125B
monochromatic
#1A1505 #282108 #5B4C12 #8E771C #C1A126

Accessibility & contrast

On white

8.44
#5B4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5B4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4C12
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4C12#FFFFFF#000000##FFFFFF
##5B4C121.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#634541
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5b4c12;
/* rgb */ color: rgb(91, 76, 18);
/* oklch */ color: oklch(42.0% 0.077 93.9);
Tailwind
colors: {
  custom: {
    50: '#8c7d55',
    500: '#5b4c12',
    950: '#000000',
  },
}
SCSS
$custom: #5b4c12;
$custom-light: #8c7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4c12",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 47.671,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.07666,
    "h": 93.9
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#5B4C12
secondary
#354993
accent
#61EA3E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5B4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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