#5D6815#5D6815

#5D6815 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.2% C 0.104 H 117.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5D6815
RGBrgb(93, 104, 21)
HSLhsl(68, 66%, 25%)
HSVhsv(68, 80%, 41%)
CMYKcmyk(10.6%, 0%, 79.8%, 59.2%)
CIE-LABlab(41.66, -15.68, 42.01)
CIE-LCHlch(41.66, 44.85, 110.47°)
OKLaboklab(49.17% -0.0473 0.0925)
OKLCHoklch(49.17% 0.104 117.1)
XYZxyz(9.6001, 12.2820, 2.5743)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6815 #201568
analogous
#684A15 #5D6815 #346815
triadic
#5D6815 #155D68 #68155D
tetradic
#5D6815 #15684A #201568 #681534
square
#5D6815 #15684A #201568 #681534
split-complementary
#5D6815 #153468 #4A1568
monochromatic
#171905 #2F350B #5D6815 #8B9B1F #B8CE2A

Accessibility & contrast

On white

6.08
#5D6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6815
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6815#FFFFFF#000000##FFFFFF
##5D68151.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#636258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d6815;
/* rgb */ color: rgb(93, 104, 21);
/* oklch */ color: oklch(49.2% 0.104 117.1);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5d6815',
    950: '#000000',
  },
}
SCSS
$custom: #5d6815;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6815",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 67.952,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.10387,
    "h": 117.1
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#5D6815
secondary
#473A9F
accent
#3EE955
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6815

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

Preview Lab → · Contrast checker → · Palette generator →

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