#5D6017#5D6017

#5D6017 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.093 H 111.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5D6017
RGBrgb(93, 96, 23)
HSLhsl(62, 61%, 23%)
HSVhsv(62, 76%, 38%)
CMYKcmyk(3.1%, 0%, 76%, 62.4%)
CIE-LABlab(39.16, -11.14, 38.88)
CIE-LCHlch(39.16, 40.44, 105.99°)
OKLaboklab(47.17% -0.0345 0.0862)
OKLCHoklch(47.17% 0.093 111.8)
XYZxyz(8.8520, 10.7550, 2.4201)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6017 #1A1760
analogous
#603E17 #5D6017 #386017
triadic
#5D6017 #175D60 #60175D
tetradic
#5D6017 #17603E #1A1760 #601738
square
#5D6017 #17603E #1A1760 #601738
split-complementary
#5D6017 #173860 #3E1760
monochromatic
#181906 #2D2F0B #5D6017 #8D9123 #BDC32F

Accessibility & contrast

On white

6.66
#5D6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6017
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6017#FFFFFF#000000##FFFFFF
##5D60171.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0A
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#645A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d6017;
/* rgb */ color: rgb(93, 96, 23);
/* oklch */ color: oklch(47.2% 0.093 111.8);
Tailwind
colors: {
  custom: {
    50: '#8d8d5a',
    500: '#5d6017',
    950: '#000000',
  },
}
SCSS
$custom: #5d6017;
$custom-light: #8d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6017",
  "rgb": {
    "r": 93,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 62.466,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.09287,
    "h": 111.8
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#5D6017
secondary
#403C97
accent
#43E44A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6017

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

Preview Lab → · Contrast checker → · Palette generator →

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