#5B4C10#5B4C10

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

Color values

HEX#5B4C10
RGBrgb(91, 76, 16)
HSLhsl(48, 70%, 21%)
HSVhsv(48, 82%, 36%)
CMYKcmyk(0%, 16.5%, 82.4%, 64.3%)
CIE-LABlab(32.77, -0.70, 35.55)
CIE-LCHlch(32.77, 35.55, 91.12°)
OKLaboklab(42.02% -0.0058 0.0778)
OKLCHoklch(42.02% 0.078 94.2)
XYZxyz(6.9927, 7.4308, 1.5561)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4C10 #101F5B
analogous
#5B2610 #5B4C10 #445B10
triadic
#5B4C10 #105B4C #4C105B
tetradic
#5B4C10 #105B26 #101F5B #5B1044
square
#5B4C10 #105B26 #101F5B #5B1044
split-complementary
#5B4C10 #10445B #26105B
monochromatic
#1A1605 #272107 #5B4C10 #8F7719 #C3A322

Accessibility & contrast

On white

8.45
#5B4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B4C10
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4C10#FFFFFF#000000##FFFFFF
##5B4C101.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#634540
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5b4c10;
/* rgb */ color: rgb(91, 76, 16);
/* oklch */ color: oklch(42.0% 0.078 94.2);
Tailwind
colors: {
  custom: {
    50: '#8d7d54',
    500: '#5b4c10',
    950: '#000000',
  },
}
SCSS
$custom: #5b4c10;
$custom-light: #8d7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4c10",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 48,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.07797,
    "h": 94.2
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#5B4C10
secondary
#334694
accent
#5FED3B
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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