#5D6418#5D6418

#5D6418 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.2% C 0.097 H 114.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5D6418
RGBrgb(93, 100, 24)
HSLhsl(66, 61%, 24%)
HSVhsv(66, 76%, 39%)
CMYKcmyk(7%, 0%, 76%, 60.8%)
CIE-LABlab(40.42, -13.33, 39.70)
CIE-LCHlch(40.42, 41.87, 108.56°)
OKLaboklab(48.18% -0.0405 0.0881)
OKLCHoklch(48.18% 0.097 114.7)
XYZxyz(9.2365, 11.5076, 2.5986)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6418 #1F1864
analogous
#644518 #5D6418 #376418
triadic
#5D6418 #185D64 #64185D
tetradic
#5D6418 #186445 #1F1864 #641837
square
#5D6418 #186445 #1F1864 #641837
split-complementary
#5D6418 #183764 #451864
monochromatic
#171906 #2F330C #5D6418 #8B9524 #B9C730

Accessibility & contrast

On white

6.36
#5D6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6418
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6418#FFFFFF#000000##FFFFFF
##5D64181.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#635E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d6418;
/* rgb */ color: rgb(93, 100, 24);
/* oklch */ color: oklch(48.2% 0.097 114.7);
Tailwind
colors: {
  custom: {
    50: '#8d905b',
    500: '#5d6418',
    950: '#000000',
  },
}
SCSS
$custom: #5d6418;
$custom-light: #8d905b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6418",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 65.526,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.097,
    "h": 114.7
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#5D6418
secondary
#463E9A
accent
#43E452
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6418

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

Preview Lab → · Contrast checker → · Palette generator →

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