#5D5D17#5D5D17

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

Color values

HEX#5D5D17
RGBrgb(93, 93, 23)
HSLhsl(60, 60%, 23%)
HSVhsv(60, 75%, 36%)
CMYKcmyk(0%, 0%, 75.3%, 63.5%)
CIE-LABlab(38.23, -9.43, 37.97)
CIE-LCHlch(38.23, 39.12, 103.94°)
OKLaboklab(46.43% -0.0297 0.0843)
OKLCHoklch(46.43% 0.089 109.4)
XYZxyz(8.5835, 10.2180, 2.3306)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D17 #17175D
analogous
#5D3A17 #5D5D17 #3A5D17
triadic
#5D5D17 #175D5D #5D175D
tetradic
#5D5D17 #175D3A #17175D #5D173A
square
#5D5D17 #175D3A #17175D #5D173A
split-complementary
#5D5D17 #173A5D #3A175D
monochromatic
#191906 #2C2C0B #5D5D17 #8E8E23 #BFBF2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5D17#FFFFFF#000000##FFFFFF
##5D5D171.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)
#65590B
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#64574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d5d17;
/* rgb */ color: rgb(93, 93, 23);
/* oklch */ color: oklch(46.4% 0.089 109.4);
Tailwind
colors: {
  custom: {
    50: '#8d8a59',
    500: '#5d5d17',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d17;
$custom-light: #8d8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d17",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46427,
    "c": 0.0894,
    "h": 109.4
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#5D5D17
secondary
#3C3C94
accent
#44E344
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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