#5B5D16#5B5D16

#5B5D16 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.2% C 0.091 H 111.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5B5D16
RGBrgb(91, 93, 22)
HSLhsl(62, 62%, 23%)
HSVhsv(62, 76%, 36%)
CMYKcmyk(2.2%, 0%, 76.3%, 63.5%)
CIE-LABlab(38.04, -10.45, 38.13)
CIE-LCHlch(38.04, 39.54, 105.33°)
OKLaboklab(46.23% -0.0326 0.0845)
OKLCHoklch(46.23% 0.091 111.1)
XYZxyz(8.3738, 10.1110, 2.2694)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D16 #18165D
analogous
#5D3B16 #5B5D16 #385D16
triadic
#5B5D16 #165B5D #5D165B
tetradic
#5B5D16 #165D3B #18165D #5D1638
square
#5B5D16 #165D3B #18165D #5D1638
split-complementary
#5B5D16 #16385D #3B165D
monochromatic
#181906 #2B2C0A #5B5D16 #8B8E22 #BCC02D

Accessibility & contrast

On white

6.95
#5B5D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5B5D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5D16
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5D16#FFFFFF#000000##FFFFFF
##5B5D161.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655909
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#62574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b5d16;
/* rgb */ color: rgb(91, 93, 22);
/* oklch */ color: oklch(46.2% 0.091 111.1);
Tailwind
colors: {
  custom: {
    50: '#8c8a59',
    500: '#5b5d16',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d16;
$custom-light: #8c8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d16",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 61.69,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46228,
    "c": 0.09059,
    "h": 111.1
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#5B5D16
secondary
#3D3B94
accent
#43E548
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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