#5D6618#5D6618

#5D6618 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.7% C 0.099 H 116.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D6618
RGBrgb(93, 102, 24)
HSLhsl(67, 62%, 25%)
HSVhsv(67, 76%, 40%)
CMYKcmyk(8.8%, 0%, 76.5%, 60%)
CIE-LABlab(41.05, -14.43, 40.31)
CIE-LCHlch(41.05, 42.81, 109.70°)
OKLaboklab(48.69% -0.0436 0.0894)
OKLCHoklch(48.69% 0.099 116)
XYZxyz(9.4307, 11.8960, 2.6633)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6618 #211866
analogous
#664818 #5D6618 #366618
triadic
#5D6618 #185D66 #66185D
tetradic
#5D6618 #186648 #211866 #661836
square
#5D6618 #186648 #211866 #661836
split-complementary
#5D6618 #183666 #481866
monochromatic
#171906 #30340C #5D6618 #8A9824 #B7C92F

Accessibility & contrast

On white

6.21
#5D6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6618
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6618#FFFFFF#000000##FFFFFF
##5D66181.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6009
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#636057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d6618;
/* rgb */ color: rgb(93, 102, 24);
/* oklch */ color: oklch(48.7% 0.099 116.0);
Tailwind
colors: {
  custom: {
    50: '#8d915b',
    500: '#5d6618',
    950: '#000000',
  },
}
SCSS
$custom: #5d6618;
$custom-light: #8d915b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6618",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 66.923,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.09947,
    "h": 116
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#5D6618
secondary
#493E9C
accent
#43E556
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D6618

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

Preview Lab → · Contrast checker → · Palette generator →

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