#5B480F#5B480F

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

Color values

HEX#5B480F
RGBrgb(91, 72, 15)
HSLhsl(45, 72%, 21%)
HSVhsv(45, 84%, 36%)
CMYKcmyk(0%, 20.9%, 83.5%, 64.3%)
CIE-LABlab(31.56, 1.72, 34.84)
CIE-LCHlch(31.56, 34.88, 87.18°)
OKLaboklab(41.07% 0.001 0.076)
OKLCHoklch(41.07% 0.076 89.2)
XYZxyz(6.7184, 6.8938, 1.4286)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B480F #0F225B
analogous
#5B220F #5B480F #485B0F
triadic
#5B480F #0F5B48 #480F5B
tetradic
#5B480F #0F5B22 #0F225B #5B0F48
square
#5B480F #0F5B22 #0F225B #5B0F48
split-complementary
#5B480F #0F485B #220F5B
monochromatic
#1A1504 #261E06 #5B480F #907218 #C49B20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B480F#FFFFFF#000000##FFFFFF
##5B480F1.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)
#514705
Deuteranopia (green-blind)
#564C12
Tritanopia (blue-blind)
#63413D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5b480f;
/* rgb */ color: rgb(91, 72, 15);
/* oklch */ color: oklch(41.1% 0.076 89.2);
Tailwind
colors: {
  custom: {
    50: '#8d7a52',
    500: '#5b480f',
    950: '#000000',
  },
}
SCSS
$custom: #5b480f;
$custom-light: #8d7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#5b480f",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 45,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.07601,
    "h": 89.2
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#5B480F
secondary
#314A95
accent
#67EE39
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0902
muted
#7D7B78

Preview Lab

Preview with #5B480F

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

Preview Lab → · Contrast checker → · Palette generator →

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