#5B4E26#5B4E26

#5B4E26 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.060 H 91.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5B4E26
RGBrgb(91, 78, 38)
HSLhsl(45, 41%, 25%)
HSVhsv(45, 58%, 36%)
CMYKcmyk(0%, 14.3%, 58.2%, 64.3%)
CIE-LABlab(33.59, -0.36, 25.42)
CIE-LCHlch(33.59, 25.42, 90.81°)
OKLaboklab(42.74% -0.0018 0.06)
OKLCHoklch(42.74% 0.06 91.7)
XYZxyz(7.3889, 7.8132, 2.9522)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E26 #26335B
analogous
#5B3326 #5B4E26 #4D5B26
triadic
#5B4E26 #265B4E #4E265B
tetradic
#5B4E26 #265B33 #26335B #5B264D
square
#5B4E26 #265B33 #26335B #5B264D
split-complementary
#5B4E26 #264D5B #33265B
monochromatic
#161309 #302914 #5B4E26 #867338 #B1984A

Accessibility & contrast

On white

8.19
#5B4E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5B4E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E26
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E26#FFFFFF#000000##FFFFFF
##5B4E261.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D22
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#624845
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e26;
/* rgb */ color: rgb(91, 78, 38);
/* oklch */ color: oklch(42.7% 0.060 91.7);
Tailwind
colors: {
  custom: {
    50: '#8b7f61',
    500: '#5b4e26',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e26;
$custom-light: #8b7f61;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e26",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 38
  },
  "hsl": {
    "h": 45.283,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.06003,
    "h": 91.7
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#5B4E26
secondary
#4F5E8E
accent
#75D157
background
#F8F7F5
surface
#F0EEEA
border
#CBC9C6
text
#0C0A05
muted
#7D7C79

Preview Lab

Preview with #5B4E26

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

Preview Lab → · Contrast checker → · Palette generator →

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