#5D5D16#5D5D16

#5D5D16 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.4% C 0.090 H 109.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5D5D16
RGBrgb(93, 93, 22)
HSLhsl(60, 62%, 23%)
HSVhsv(60, 76%, 36%)
CMYKcmyk(0%, 0%, 76.3%, 63.5%)
CIE-LABlab(38.22, -9.48, 38.37)
CIE-LCHlch(38.22, 39.53, 103.88°)
OKLaboklab(46.42% -0.03 0.085)
OKLCHoklch(46.42% 0.09 109.4)
XYZxyz(8.5737, 10.2140, 2.2788)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D16 #16165D
analogous
#5D3916 #5D5D16 #395D16
triadic
#5D5D16 #165D5D #5D165D
tetradic
#5D5D16 #165D39 #16165D #5D1639
square
#5D5D16 #165D39 #16165D #5D1639
split-complementary
#5D5D16 #16395D #39165D
monochromatic
#191906 #2C2C0A #5D5D16 #8E8E22 #C0C02D

Accessibility & contrast

On white

6.90
#5D5D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D5D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5D16
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5D16#FFFFFF#000000##FFFFFF
##5D5D161.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655909
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#64574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d5d16;
/* rgb */ color: rgb(93, 93, 22);
/* oklch */ color: oklch(46.4% 0.090 109.4);
Tailwind
colors: {
  custom: {
    50: '#8e8a59',
    500: '#5d5d16',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d16;
$custom-light: #8e8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d16",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46419,
    "c": 0.0901,
    "h": 109.4
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#5D5D16
secondary
#3B3B94
accent
#43E543
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5D5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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