#5B4E1C#5B4E1C

#5B4E1C is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.070 H 94.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5B4E1C
RGBrgb(91, 78, 28)
HSLhsl(48, 53%, 23%)
HSVhsv(48, 69%, 36%)
CMYKcmyk(0%, 14.3%, 69.2%, 64.3%)
CIE-LABlab(33.47, -1.20, 30.71)
CIE-LCHlch(33.47, 30.73, 92.25°)
OKLaboklab(42.61% -0.0056 0.07)
OKLCHoklch(42.61% 0.07 94.6)
XYZxyz(7.2487, 7.7571, 2.2138)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E1C #1C295B
analogous
#5B2E1C #5B4E1C #485B1C
triadic
#5B4E1C #1C5B4E #4E1C5B
tetradic
#5B4E1C #1C5B2E #1C295B #5B1C48
square
#5B4E1C #1C5B2E #1C295B #5B1C48
split-complementary
#5B4E1C #1C485B #2E1C5B
monochromatic
#171407 #2C260E #5B4E1C #8A762A #B99E39

Accessibility & contrast

On white

8.23
#5B4E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5B4E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E1C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E1C#FFFFFF#000000##FFFFFF
##5B4E1C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C16
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#624843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e1c;
/* rgb */ color: rgb(91, 78, 28);
/* oklch */ color: oklch(42.6% 0.070 94.6);
Tailwind
colors: {
  custom: {
    50: '#8c7f5b',
    500: '#5b4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e1c;
$custom-light: #8c7f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e1c",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 47.619,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.0702,
    "h": 94.6
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#5B4E1C
secondary
#425290
accent
#69DC4B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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