#5B5D13#5B5D13

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

Color values

HEX#5B5D13
RGBrgb(91, 93, 19)
HSLhsl(62, 66%, 22%)
HSVhsv(62, 80%, 36%)
CMYKcmyk(2.2%, 0%, 79.6%, 63.5%)
CIE-LABlab(38.02, -10.61, 39.29)
CIE-LCHlch(38.02, 40.69, 105.11°)
OKLaboklab(46.21% -0.0333 0.0864)
OKLCHoklch(46.21% 0.093 111.1)
XYZxyz(8.3466, 10.1001, 2.1258)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D13 #15135D
analogous
#5D3A13 #5B5D13 #365D13
triadic
#5B5D13 #135B5D #5D135B
tetradic
#5B5D13 #135D3A #15135D #5D1336
square
#5B5D13 #135D3A #15135D #5D1336
split-complementary
#5B5D13 #13365D #3A135D
monochromatic
#191905 #292A09 #5B5D13 #8D901D #BEC328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5D13#FFFFFF#000000##FFFFFF
##5B5D131.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)
#655804
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#62574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5d13;
/* rgb */ color: rgb(91, 93, 19);
/* oklch */ color: oklch(46.2% 0.093 111.1);
Tailwind
colors: {
  custom: {
    50: '#8c8a57',
    500: '#5b5d13',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d13;
$custom-light: #8c8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d13",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 61.622,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.09257,
    "h": 111.1
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#5B5D13
secondary
#393795
accent
#3FE943
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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