#5D6517#5D6517

#5D6517 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.4% C 0.099 H 115.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D6517
RGBrgb(93, 101, 23)
HSLhsl(66, 63%, 24%)
HSVhsv(66, 77%, 40%)
CMYKcmyk(7.9%, 0%, 77.2%, 60.4%)
CIE-LABlab(40.73, -13.93, 40.39)
CIE-LCHlch(40.73, 42.72, 109.04°)
OKLaboklab(48.43% -0.0423 0.0894)
OKLCHoklch(48.43% 0.099 115.3)
XYZxyz(9.3228, 11.6965, 2.5770)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6517 #1F1765
analogous
#654617 #5D6517 #366517
triadic
#5D6517 #175D65 #65175D
tetradic
#5D6517 #176546 #1F1765 #651736
square
#5D6517 #176546 #1F1765 #651736
split-complementary
#5D6517 #173665 #461765
monochromatic
#171906 #2F330C #5D6517 #8B9722 #B9C92E

Accessibility & contrast

On white

6.29
#5D6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6517
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6517#FFFFFF#000000##FFFFFF
##5D65171.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#635F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6517;
/* rgb */ color: rgb(93, 101, 23);
/* oklch */ color: oklch(48.4% 0.099 115.3);
Tailwind
colors: {
  custom: {
    50: '#8e905b',
    500: '#5d6517',
    950: '#000000',
  },
}
SCSS
$custom: #5d6517;
$custom-light: #8e905b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6517",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 66.154,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.09891,
    "h": 115.3
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#5D6517
secondary
#463C9B
accent
#42E653
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6517

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

Preview Lab → · Contrast checker → · Palette generator →

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