#5B4B10#5B4B10

#5B4B10 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.8% C 0.077 H 93.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5B4B10
RGBrgb(91, 75, 16)
HSLhsl(47, 70%, 21%)
HSVhsv(47, 82%, 36%)
CMYKcmyk(0%, 17.6%, 82.4%, 64.3%)
CIE-LABlab(32.47, -0.08, 35.27)
CIE-LCHlch(32.47, 35.27, 90.14°)
OKLaboklab(41.78% -0.004 0.0772)
OKLCHoklch(41.78% 0.077 93)
XYZxyz(6.9244, 7.2941, 1.5333)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4B10 #10205B
analogous
#5B2510 #5B4B10 #455B10
triadic
#5B4B10 #105B4B #4B105B
tetradic
#5B4B10 #105B25 #10205B #5B1045
square
#5B4B10 #105B25 #10205B #5B1045
split-complementary
#5B4B10 #10455B #25105B
monochromatic
#1A1505 #272007 #5B4B10 #8F7619 #C3A122

Accessibility & contrast

On white

8.54
#5B4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5B4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4B10
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4B10#FFFFFF#000000##FFFFFF
##5B4B101.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#634440
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5b4b10;
/* rgb */ color: rgb(91, 75, 16);
/* oklch */ color: oklch(41.8% 0.077 93.0);
Tailwind
colors: {
  custom: {
    50: '#8d7d53',
    500: '#5b4b10',
    950: '#000000',
  },
}
SCSS
$custom: #5b4b10;
$custom-light: #8d7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4b10",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 47.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.07726,
    "h": 93
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#5B4B10
secondary
#334794
accent
#61ED3B
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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