#5C6717#5C6717

#5C6717 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.102 H 117.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5C6717
RGBrgb(92, 103, 23)
HSLhsl(68, 63%, 25%)
HSVhsv(68, 78%, 40%)
CMYKcmyk(10.7%, 0%, 77.7%, 59.6%)
CIE-LABlab(41.28, -15.50, 40.88)
CIE-LCHlch(41.28, 43.72, 110.77°)
OKLaboklab(48.85% -0.0466 0.0905)
OKLCHoklch(48.85% 0.102 117.2)
XYZxyz(9.4188, 12.0378, 2.6378)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6717 #221767
analogous
#674A17 #5C6717 #346717
triadic
#5C6717 #175C67 #67175C
tetradic
#5C6717 #17674A #221767 #671734
square
#5C6717 #17674A #221767 #671734
split-complementary
#5C6717 #173467 #4A1767
monochromatic
#161906 #2F350C #5C6717 #899922 #B5CB2D

Accessibility & contrast

On white

6.16
#5C6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5C6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6717
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6717#FFFFFF#000000##FFFFFF
##5C67171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6107
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#626158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c6717;
/* rgb */ color: rgb(92, 103, 23);
/* oklch */ color: oklch(48.8% 0.102 117.2);
Tailwind
colors: {
  custom: {
    50: '#8d925b',
    500: '#5c6717',
    950: '#000000',
  },
}
SCSS
$custom: #5c6717;
$custom-light: #8d925b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6717",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 68.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.10177,
    "h": 117.2
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#5C6717
secondary
#4A3D9D
accent
#41E758
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C6717

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

Preview Lab → · Contrast checker → · Palette generator →

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