#5B4F11#5B4F11

#5B4F11 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.080 H 97.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5B4F11
RGBrgb(91, 79, 17)
HSLhsl(50, 69%, 21%)
HSVhsv(50, 81%, 36%)
CMYKcmyk(0%, 13.2%, 81.3%, 64.3%)
CIE-LABlab(33.68, -2.48, 36.00)
CIE-LCHlch(33.68, 36.09, 93.93°)
OKLaboklab(42.75% -0.0107 0.079)
OKLCHoklch(42.75% 0.08 97.7)
XYZxyz(7.2119, 7.8570, 1.6669)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4F11 #111D5B
analogous
#5B2A11 #5B4F11 #425B11
triadic
#5B4F11 #115B4F #4F115B
tetradic
#5B4F11 #115B2A #111D5B #5B1142
square
#5B4F11 #115B2A #111D5B #5B1142
split-complementary
#5B4F11 #11425B #2A115B
monochromatic
#1A1605 #272207 #5B4F11 #8F7C1B #C2A924

Accessibility & contrast

On white

8.17
#5B4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5B4F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4F11
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4F11#FFFFFF#000000##FFFFFF
##5B4F111.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#634843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4f11;
/* rgb */ color: rgb(91, 79, 17);
/* oklch */ color: oklch(42.7% 0.080 97.7);
Tailwind
colors: {
  custom: {
    50: '#8c8054',
    500: '#5b4f11',
    950: '#000000',
  },
}
SCSS
$custom: #5b4f11;
$custom-light: #8c8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4f11",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 50.27,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.07967,
    "h": 97.7
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#5B4F11
secondary
#344494
accent
#59EB3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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