#5B480E#5B480E

#5B480E is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 41.1% C 0.077 H 89.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#5B480E
RGBrgb(91, 72, 14)
HSLhsl(45, 73%, 21%)
HSVhsv(45, 85%, 36%)
CMYKcmyk(0%, 20.9%, 84.6%, 64.3%)
CIE-LABlab(31.56, 1.67, 35.23)
CIE-LCHlch(31.56, 35.27, 87.28°)
OKLaboklab(41.06% 0.0008 0.0766)
OKLCHoklch(41.06% 0.077 89.4)
XYZxyz(6.7114, 6.8910, 1.3920)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B480E #0E215B
analogous
#5B210E #5B480E #475B0E
triadic
#5B480E #0E5B48 #480E5B
tetradic
#5B480E #0E5B21 #0E215B #5B0E47
square
#5B480E #0E5B21 #0E215B #5B0E47
split-complementary
#5B480E #0E475B #210E5B
monochromatic
#1B1504 #261E06 #5B480E #907216 #C59C1E

Accessibility & contrast

On white

8.83
#5B480E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5B480E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B480E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B480E#FFFFFF#000000##FFFFFF
##5B480E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#564C11
Tritanopia (blue-blind)
#63413D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5b480e;
/* rgb */ color: rgb(91, 72, 14);
/* oklch */ color: oklch(41.1% 0.077 89.4);
Tailwind
colors: {
  custom: {
    50: '#8d7a52',
    500: '#5b480e',
    950: '#000000',
  },
}
SCSS
$custom: #5b480e;
$custom-light: #8d7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#5b480e",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 45.195,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.07661,
    "h": 89.4
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#5B480E
secondary
#304995
accent
#65F038
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0902
muted
#7D7B78

Preview Lab

Preview with #5B480E

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

Preview Lab → · Contrast checker → · Palette generator →

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