#5B5019#5B5019

#5B5019 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.075 H 97.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5B5019
RGBrgb(91, 80, 25)
HSLhsl(50, 57%, 23%)
HSVhsv(50, 73%, 36%)
CMYKcmyk(0%, 12.1%, 72.5%, 64.3%)
CIE-LABlab(34.05, -2.62, 32.81)
CIE-LCHlch(34.05, 32.91, 94.57°)
OKLaboklab(43.06% -0.0101 0.0739)
OKLCHoklch(43.06% 0.075 97.8)
XYZxyz(7.3589, 8.0320, 2.0822)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5019 #19245B
analogous
#5B2F19 #5B5019 #455B19
triadic
#5B5019 #195B50 #50195B
tetradic
#5B5019 #195B2F #19245B #5B1945
square
#5B5019 #195B2F #19245B #5B1945
split-complementary
#5B5019 #19455B #2F195B
monochromatic
#181507 #2B260C #5B5019 #8B7A26 #BBA433

Accessibility & contrast

On white

8.06
#5B5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5B5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5019
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5019#FFFFFF#000000##FFFFFF
##5B50191.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E12
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#634A45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5b5019;
/* rgb */ color: rgb(91, 80, 25);
/* oklch */ color: oklch(43.1% 0.075 97.8);
Tailwind
colors: {
  custom: {
    50: '#8c8059',
    500: '#5b5019',
    950: '#000000',
  },
}
SCSS
$custom: #5b5019;
$custom-light: #8c8059;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5019",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 50,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43058,
    "c": 0.07456,
    "h": 97.8
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#5B5019
secondary
#3F4C91
accent
#61E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B5019

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

Preview Lab → · Contrast checker → · Palette generator →

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