#5D6816#5D6816

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

Color values

HEX#5D6816
RGBrgb(93, 104, 22)
HSLhsl(68, 65%, 25%)
HSVhsv(68, 79%, 41%)
CMYKcmyk(10.6%, 0%, 78.8%, 59.2%)
CIE-LABlab(41.67, -15.63, 41.66)
CIE-LCHlch(41.67, 44.49, 110.57°)
OKLaboklab(49.18% -0.0471 0.0919)
OKLCHoklch(49.18% 0.103 117.1)
XYZxyz(9.6096, 12.2858, 2.6241)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6816 #211668
analogous
#684A16 #5D6816 #346816
triadic
#5D6816 #165D68 #68165D
tetradic
#5D6816 #16684A #211668 #681634
square
#5D6816 #16684A #211668 #681634
split-complementary
#5D6816 #163468 #4A1668
monochromatic
#171905 #30350B #5D6816 #8A9B21 #B7CD2B

Accessibility & contrast

On white

6.07
#5D6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D6816
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6816#FFFFFF#000000##FFFFFF
##5D68161.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6816;
/* rgb */ color: rgb(93, 104, 22);
/* oklch */ color: oklch(49.2% 0.103 117.1);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5d6816',
    950: '#000000',
  },
}
SCSS
$custom: #5d6816;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6816",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 68.049,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.10326,
    "h": 117.1
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#5D6816
secondary
#493B9F
accent
#40E856
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6816

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

Preview Lab → · Contrast checker → · Palette generator →

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