#5D6917#5D6917

#5D6917 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.4% C 0.104 H 117.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5D6917
RGBrgb(93, 105, 23)
HSLhsl(69, 64%, 25%)
HSVhsv(69, 78%, 41%)
CMYKcmyk(11.4%, 0%, 78.1%, 58.8%)
CIE-LABlab(41.99, -16.12, 41.59)
CIE-LCHlch(41.99, 44.60, 111.19°)
OKLaboklab(49.44% -0.0484 0.0919)
OKLCHoklch(49.44% 0.104 117.7)
XYZxyz(9.7207, 12.4923, 2.7096)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6917 #231769
analogous
#694C17 #5D6917 #346917
triadic
#5D6917 #175D69 #69175D
tetradic
#5D6917 #17694C #231769 #691734
square
#5D6917 #17694C #231769 #691734
split-complementary
#5D6917 #173469 #4C1769
monochromatic
#161905 #31370C #5D6917 #899B22 #B6CD2D

Accessibility & contrast

On white

6.00
#5D6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6917
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6917#FFFFFF#000000##FFFFFF
##5D69171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#636359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d6917;
/* rgb */ color: rgb(93, 105, 23);
/* oklch */ color: oklch(49.4% 0.104 117.7);
Tailwind
colors: {
  custom: {
    50: '#8e935b',
    500: '#5d6917',
    950: '#000000',
  },
}
SCSS
$custom: #5d6917;
$custom-light: #8e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6917",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 68.78,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.10388,
    "h": 117.7
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#5D6917
secondary
#4B3D9F
accent
#41E759
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6917

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

Preview Lab → · Contrast checker → · Palette generator →

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