#5B4F13#5B4F13

#5B4F13 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.078 H 97.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5B4F13
RGBrgb(91, 79, 19)
HSLhsl(50, 65%, 22%)
HSVhsv(50, 79%, 36%)
CMYKcmyk(0%, 13.2%, 79.1%, 64.3%)
CIE-LABlab(33.70, -2.37, 35.18)
CIE-LCHlch(33.70, 35.26, 93.86°)
OKLaboklab(42.76% -0.0102 0.0777)
OKLCHoklch(42.76% 0.078 97.5)
XYZxyz(7.2283, 7.8635, 1.7530)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4F13 #131F5B
analogous
#5B2B13 #5B4F13 #435B13
triadic
#5B4F13 #135B4F #4F135B
tetradic
#5B4F13 #135B2B #131F5B #5B1343
square
#5B4F13 #135B2B #131F5B #5B1343
split-complementary
#5B4F13 #13435B #2B135B
monochromatic
#191605 #282308 #5B4F13 #8E7B1E #C0A728

Accessibility & contrast

On white

8.16
#5B4F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B4F13
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4F13#FFFFFF#000000##FFFFFF
##5B4F131.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4f13;
/* rgb */ color: rgb(91, 79, 19);
/* oklch */ color: oklch(42.8% 0.078 97.5);
Tailwind
colors: {
  custom: {
    50: '#8c8055',
    500: '#5b4f13',
    950: '#000000',
  },
}
SCSS
$custom: #5b4f13;
$custom-light: #8c8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4f13",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 50,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.07832,
    "h": 97.5
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#5B4F13
secondary
#374693
accent
#5CE83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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