#5B6516#5B6516

#5B6516 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.2% C 0.100 H 116.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5B6516
RGBrgb(91, 101, 22)
HSLhsl(68, 64%, 24%)
HSVhsv(68, 78%, 40%)
CMYKcmyk(9.9%, 0%, 78.2%, 60.4%)
CIE-LABlab(40.56, -14.93, 40.55)
CIE-LCHlch(40.56, 43.21, 110.21°)
OKLaboklab(48.24% -0.045 0.0896)
OKLCHoklch(48.24% 0.1 116.7)
XYZxyz(9.1131, 11.5896, 2.5158)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6516 #201665
analogous
#654816 #5B6516 #346516
triadic
#5B6516 #165B65 #65165B
tetradic
#5B6516 #166548 #201665 #651634
square
#5B6516 #166548 #201665 #651634
split-complementary
#5B6516 #163465 #481665
monochromatic
#171905 #2E330B #5B6516 #889721 #B6CA2C

Accessibility & contrast

On white

6.33
#5B6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5B6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6516
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6516#FFFFFF#000000##FFFFFF
##5B65161.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#615F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b6516;
/* rgb */ color: rgb(91, 101, 22);
/* oklch */ color: oklch(48.2% 0.100 116.7);
Tailwind
colors: {
  custom: {
    50: '#8c905a',
    500: '#5b6516',
    950: '#000000',
  },
}
SCSS
$custom: #5b6516;
$custom-light: #8c905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6516",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 67.595,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.1003,
    "h": 116.7
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#5B6516
secondary
#473B9C
accent
#41E756
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6516

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

Preview Lab → · Contrast checker → · Palette generator →

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