#5B6015#5B6015

#5B6015 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 47.0% C 0.095 H 113.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5B6015
RGBrgb(91, 96, 21)
HSLhsl(64, 64%, 23%)
HSVhsv(64, 78%, 38%)
CMYKcmyk(5.2%, 0%, 78.1%, 62.4%)
CIE-LABlab(38.97, -12.20, 39.42)
CIE-LCHlch(38.97, 41.27, 107.20°)
OKLaboklab(46.97% -0.0376 0.0871)
OKLCHoklch(46.97% 0.095 113.3)
XYZxyz(8.6329, 10.6442, 2.3091)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6015 #1A1560
analogous
#603F15 #5B6015 #356015
triadic
#5B6015 #155B60 #60155B
tetradic
#5B6015 #15603F #1A1560 #601535
square
#5B6015 #15603F #1A1560 #601535
split-complementary
#5B6015 #153560 #3F1560
monochromatic
#181905 #2B2E0A #5B6015 #8B9220 #BAC42B

Accessibility & contrast

On white

6.71
#5B6015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5B6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6015
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6015#FFFFFF#000000##FFFFFF
##5B60151.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B06
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#625A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6015;
/* rgb */ color: rgb(91, 96, 21);
/* oklch */ color: oklch(47.0% 0.095 113.3);
Tailwind
colors: {
  custom: {
    50: '#8c8d59',
    500: '#5b6015',
    950: '#000000',
  },
}
SCSS
$custom: #5b6015;
$custom-light: #8c8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6015",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 64,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.09482,
    "h": 113.3
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#5B6015
secondary
#403A97
accent
#41E74C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6015

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

Preview Lab → · Contrast checker → · Palette generator →

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