#5B6016#5B6016

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

Color values

HEX#5B6016
RGBrgb(91, 96, 22)
HSLhsl(64, 63%, 23%)
HSVhsv(64, 77%, 38%)
CMYKcmyk(5.2%, 0%, 77.1%, 62.4%)
CIE-LABlab(38.98, -12.15, 39.04)
CIE-LCHlch(38.98, 40.89, 107.29°)
OKLaboklab(46.98% -0.0373 0.0864)
OKLCHoklch(46.98% 0.094 113.4)
XYZxyz(8.6423, 10.6480, 2.3589)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6016 #1B1660
analogous
#604016 #5B6016 #366016
triadic
#5B6016 #165B60 #60165B
tetradic
#5B6016 #166040 #1B1660 #601636
square
#5B6016 #166040 #1B1660 #601636
split-complementary
#5B6016 #163660 #401660
monochromatic
#181906 #2C2E0B #5B6016 #8A9221 #B9C42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6016#FFFFFF#000000##FFFFFF
##5B60161.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)
#685B08
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#625A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6016;
/* rgb */ color: rgb(91, 96, 22);
/* oklch */ color: oklch(47.0% 0.094 113.4);
Tailwind
colors: {
  custom: {
    50: '#8c8d59',
    500: '#5b6016',
    950: '#000000',
  },
}
SCSS
$custom: #5b6016;
$custom-light: #8c8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6016",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 64.054,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.09415,
    "h": 113.4
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#5B6016
secondary
#413B97
accent
#42E64D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6016

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

Preview Lab → · Contrast checker → · Palette generator →

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