#5D6318#5D6318

#5D6318 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#5D6318
RGBrgb(93, 99, 24)
HSLhsl(65, 61%, 24%)
HSVhsv(65, 76%, 39%)
CMYKcmyk(6.1%, 0%, 75.8%, 61.2%)
CIE-LABlab(40.11, -12.77, 39.39)
CIE-LCHlch(40.11, 41.41, 107.96°)
OKLaboklab(47.93% -0.039 0.0875)
OKLCHoklch(47.93% 0.096 114)
XYZxyz(9.1412, 11.3170, 2.5668)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6318 #1E1863
analogous
#634418 #5D6318 #386318
triadic
#5D6318 #185D63 #63185D
tetradic
#5D6318 #186344 #1E1863 #631838
square
#5D6318 #186344 #1E1863 #631838
split-complementary
#5D6318 #183863 #441863
monochromatic
#171906 #2F320C #5D6318 #8B9424 #BAC630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D6318#FFFFFF#000000##FFFFFF
##5D63181.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)
#6B5E0A
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#645D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6318;
/* rgb */ color: rgb(93, 99, 24);
/* oklch */ color: oklch(47.9% 0.096 114.0);
Tailwind
colors: {
  custom: {
    50: '#8d8f5b',
    500: '#5d6318',
    950: '#000000',
  },
}
SCSS
$custom: #5d6318;
$custom-light: #8d8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6318",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 64.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47932,
    "c": 0.09578,
    "h": 114
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#5D6318
secondary
#453E99
accent
#44E451
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6318

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

Preview Lab → · Contrast checker → · Palette generator →

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