#5B4E19#5B4E19

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

Color values

HEX#5B4E19
RGBrgb(91, 78, 25)
HSLhsl(48, 57%, 23%)
HSVhsv(48, 73%, 36%)
CMYKcmyk(0%, 14.3%, 72.5%, 64.3%)
CIE-LABlab(33.44, -1.41, 32.18)
CIE-LCHlch(33.44, 32.21, 92.51°)
OKLaboklab(42.58% -0.0067 0.0725)
OKLCHoklch(42.58% 0.073 95.2)
XYZxyz(7.2146, 7.7435, 2.0341)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E19 #19265B
analogous
#5B2D19 #5B4E19 #475B19
triadic
#5B4E19 #195B4E #4E195B
tetradic
#5B4E19 #195B2D #19265B #5B1947
square
#5B4E19 #195B2D #19265B #5B1947
split-complementary
#5B4E19 #19475B #2D195B
monochromatic
#181507 #2B250C #5B4E19 #8B7726 #BBA033

Accessibility & contrast

On white

8.24
#5B4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B4E19
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E19#FFFFFF#000000##FFFFFF
##5B4E191.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#634843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e19;
/* rgb */ color: rgb(91, 78, 25);
/* oklch */ color: oklch(42.6% 0.073 95.2);
Tailwind
colors: {
  custom: {
    50: '#8c7f59',
    500: '#5b4e19',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e19;
$custom-light: #8c7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e19",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 48.182,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.07285,
    "h": 95.2
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#5B4E19
secondary
#3F4F91
accent
#66E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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