#5B5014#5B5014

#5B5014 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.078 H 98.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5B5014
RGBrgb(91, 80, 20)
HSLhsl(51, 64%, 22%)
HSVhsv(51, 78%, 36%)
CMYKcmyk(0%, 12.1%, 78%, 64.3%)
CIE-LABlab(34.01, -2.92, 35.05)
CIE-LCHlch(34.01, 35.18, 94.77°)
OKLaboklab(43.01% -0.0116 0.0776)
OKLCHoklch(43.01% 0.078 98.5)
XYZxyz(7.3097, 8.0123, 1.8232)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5014 #141F5B
analogous
#5B2D14 #5B5014 #435B14
triadic
#5B5014 #145B50 #50145B
tetradic
#5B5014 #145B2D #141F5B #5B1443
square
#5B5014 #145B2D #141F5B #5B1443
split-complementary
#5B5014 #14435B #2D145B
monochromatic
#191606 #292409 #5B5014 #8D7C1F #BFA82A

Accessibility & contrast

On white

8.07
#5B5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5B5014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5014
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5014#FFFFFF#000000##FFFFFF
##5B50141.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0A
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#634944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5b5014;
/* rgb */ color: rgb(91, 80, 20);
/* oklch */ color: oklch(43.0% 0.078 98.5);
Tailwind
colors: {
  custom: {
    50: '#8c8056',
    500: '#5b5014',
    950: '#000000',
  },
}
SCSS
$custom: #5b5014;
$custom-light: #8c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5014",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 50.704,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43013,
    "c": 0.07848,
    "h": 98.5
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#5B5014
secondary
#384693
accent
#5BE741
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5014

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

Preview Lab → · Contrast checker → · Palette generator →

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