#5D6717#5D6717

#5D6717 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 48.9% C 0.101 H 116.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5D6717
RGBrgb(93, 103, 23)
HSLhsl(68, 63%, 25%)
HSVhsv(68, 78%, 40%)
CMYKcmyk(9.7%, 0%, 77.7%, 59.6%)
CIE-LABlab(41.36, -15.04, 40.99)
CIE-LCHlch(41.36, 43.66, 110.14°)
OKLaboklab(48.93% -0.0453 0.0907)
OKLCHoklch(48.93% 0.101 116.6)
XYZxyz(9.5193, 12.0896, 2.6425)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6717 #211767
analogous
#674917 #5D6717 #356717
triadic
#5D6717 #175D67 #67175D
tetradic
#5D6717 #176749 #211767 #671735
square
#5D6717 #176749 #211767 #671735
split-complementary
#5D6717 #173567 #491767
monochromatic
#171906 #30350C #5D6717 #8A9922 #B7CB2D

Accessibility & contrast

On white

6.14
#5D6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6717
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6717#FFFFFF#000000##FFFFFF
##5D67171.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6107
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#636158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d6717;
/* rgb */ color: rgb(93, 103, 23);
/* oklch */ color: oklch(48.9% 0.101 116.6);
Tailwind
colors: {
  custom: {
    50: '#8e925b',
    500: '#5d6717',
    950: '#000000',
  },
}
SCSS
$custom: #5d6717;
$custom-light: #8e925b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6717",
  "rgb": {
    "r": 93,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 67.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.10138,
    "h": 116.6
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#5D6717
secondary
#493D9D
accent
#41E756
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D04
muted
#7D7D79

Preview Lab

Preview with #5D6717

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

Preview Lab → · Contrast checker → · Palette generator →

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