#5B490F#5B490F

#5B490F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.3% C 0.077 H 90.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5B490F
RGBrgb(91, 73, 15)
HSLhsl(46, 72%, 21%)
HSVhsv(46, 84%, 36%)
CMYKcmyk(0%, 19.8%, 83.5%, 64.3%)
CIE-LABlab(31.86, 1.10, 35.11)
CIE-LCHlch(31.86, 35.13, 88.21°)
OKLaboklab(41.3% -0.0008 0.0766)
OKLCHoklch(41.3% 0.077 90.6)
XYZxyz(6.7836, 7.0242, 1.4503)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B490F #0F215B
analogous
#5B230F #5B490F #475B0F
triadic
#5B490F #0F5B49 #490F5B
tetradic
#5B490F #0F5B23 #0F215B #5B0F47
square
#5B490F #0F5B23 #0F215B #5B0F47
split-complementary
#5B490F #0F475B #230F5B
monochromatic
#1A1504 #261F06 #5B490F #907318 #C49D20

Accessibility & contrast

On white

8.73
#5B490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5B490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B490F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B490F#FFFFFF#000000##FFFFFF
##5B490F1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#574D12
Tritanopia (blue-blind)
#63423E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b490f;
/* rgb */ color: rgb(91, 73, 15);
/* oklch */ color: oklch(41.3% 0.077 90.6);
Tailwind
colors: {
  custom: {
    50: '#8d7b53',
    500: '#5b490f',
    950: '#000000',
  },
}
SCSS
$custom: #5b490f;
$custom-light: #8d7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b490f",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 45.789,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.07659,
    "h": 90.6
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#5B490F
secondary
#314995
accent
#64EE39
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0902
muted
#7D7B78

Preview Lab

Preview with #5B490F

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

Preview Lab → · Contrast checker → · Palette generator →

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