#5D6317#5D6317

#5D6317 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 47.9% C 0.096 H 114.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5D6317
RGBrgb(93, 99, 23)
HSLhsl(65, 62%, 24%)
HSVhsv(65, 77%, 39%)
CMYKcmyk(6.1%, 0%, 76.8%, 61.2%)
CIE-LABlab(40.10, -12.82, 39.79)
CIE-LCHlch(40.10, 41.80, 107.87°)
OKLaboklab(47.92% -0.0392 0.0881)
OKLCHoklch(47.92% 0.096 114)
XYZxyz(9.1310, 11.3129, 2.5130)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6317 #1D1763
analogous
#634317 #5D6317 #376317
triadic
#5D6317 #175D63 #63175D
tetradic
#5D6317 #176343 #1D1763 #631737
square
#5D6317 #176343 #1D1763 #631737
split-complementary
#5D6317 #173763 #431763
monochromatic
#171906 #2E310B #5D6317 #8C9523 #BAC62E

Accessibility & contrast

On white

6.44
#5D6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6317
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6317#FFFFFF#000000##FFFFFF
##5D63171.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#645D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6317;
/* rgb */ color: rgb(93, 99, 23);
/* oklch */ color: oklch(47.9% 0.096 114.0);
Tailwind
colors: {
  custom: {
    50: '#8d8f5a',
    500: '#5d6317',
    950: '#000000',
  },
}
SCSS
$custom: #5d6317;
$custom-light: #8d8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6317",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 64.737,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.09646,
    "h": 114
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#5D6317
secondary
#443C9A
accent
#42E54F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6317

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

Preview Lab → · Contrast checker → · Palette generator →

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