#5D5B16#5D5B16

#5D5B16 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.9% C 0.088 H 107.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5D5B16
RGBrgb(93, 91, 22)
HSLhsl(58, 62%, 23%)
HSVhsv(58, 76%, 36%)
CMYKcmyk(0%, 2.2%, 76.3%, 63.5%)
CIE-LABlab(37.60, -8.33, 37.77)
CIE-LCHlch(37.60, 38.68, 102.44°)
OKLaboklab(45.92% -0.0268 0.0837)
OKLCHoklch(45.92% 0.088 107.7)
XYZxyz(8.4004, 9.8675, 2.2210)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5B16 #16185D
analogous
#5D3816 #5D5B16 #3B5D16
triadic
#5D5B16 #165D5B #5B165D
tetradic
#5D5B16 #165D38 #16185D #5D163B
square
#5D5B16 #165D38 #16185D #5D163B
split-complementary
#5D5B16 #163B5D #38165D
monochromatic
#191806 #2C2B0A #5D5B16 #8E8B22 #C0BC2D

Accessibility & contrast

On white

7.06
#5D5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5D5B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5B16
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5B16#FFFFFF#000000##FFFFFF
##5D5B161.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570A
Deuteranopia (green-blind)
#645A1B
Tritanopia (blue-blind)
#64554E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5b16;
/* rgb */ color: rgb(93, 91, 22);
/* oklch */ color: oklch(45.9% 0.088 107.7);
Tailwind
colors: {
  custom: {
    50: '#8e8959',
    500: '#5d5b16',
    950: '#000000',
  },
}
SCSS
$custom: #5d5b16;
$custom-light: #8e8959;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5b16",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 58.31,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.08787,
    "h": 107.7
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#5D5B16
secondary
#3B3D94
accent
#48E543
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5D5B16

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

Preview Lab → · Contrast checker → · Palette generator →

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