#5C6716#5C6716

#5C6716 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#5C6716
RGBrgb(92, 103, 22)
HSLhsl(68, 65%, 25%)
HSVhsv(68, 79%, 40%)
CMYKcmyk(10.7%, 0%, 78.6%, 59.6%)
CIE-LABlab(41.27, -15.56, 41.25)
CIE-LCHlch(41.27, 44.09, 110.66°)
OKLaboklab(48.84% -0.0468 0.0911)
OKLCHoklch(48.84% 0.102 117.2)
XYZxyz(9.4089, 12.0338, 2.5860)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6716 #211667
analogous
#674A16 #5C6716 #346716
triadic
#5C6716 #165C67 #67165C
tetradic
#5C6716 #16674A #211667 #671634
square
#5C6716 #16674A #211667 #671634
split-complementary
#5C6716 #163467 #4A1667
monochromatic
#171905 #2F350B #5C6716 #899921 #B6CC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6716#FFFFFF#000000##FFFFFF
##5C67161.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)
#6E6105
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#626158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c6716;
/* rgb */ color: rgb(92, 103, 22);
/* oklch */ color: oklch(48.8% 0.102 117.2);
Tailwind
colors: {
  custom: {
    50: '#8d925a',
    500: '#5c6716',
    950: '#000000',
  },
}
SCSS
$custom: #5c6716;
$custom-light: #8d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6716",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 68.148,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.10241,
    "h": 117.2
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#5C6716
secondary
#493B9E
accent
#40E857
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C6716

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

Preview Lab → · Contrast checker → · Palette generator →

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