#5C6017#5C6017

#5C6017 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.093 H 112.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5C6017
RGBrgb(92, 96, 23)
HSLhsl(63, 61%, 23%)
HSVhsv(63, 76%, 38%)
CMYKcmyk(4.2%, 0%, 76%, 62.4%)
CIE-LABlab(39.08, -11.62, 38.76)
CIE-LCHlch(39.08, 40.47, 106.68°)
OKLaboklab(47.08% -0.0358 0.086)
OKLCHoklch(47.08% 0.093 112.6)
XYZxyz(8.7514, 10.7031, 2.4153)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6017 #1B1760
analogous
#603F17 #5C6017 #376017
triadic
#5C6017 #175C60 #60175C
tetradic
#5C6017 #17603F #1B1760 #601737
square
#5C6017 #17603F #1B1760 #601737
split-complementary
#5C6017 #173760 #3F1760
monochromatic
#181906 #2D2F0B #5C6017 #8B9123 #BBC32F

Accessibility & contrast

On white

6.69
#5C6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5C6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6017
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6017#FFFFFF#000000##FFFFFF
##5C60171.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0A
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#635A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c6017;
/* rgb */ color: rgb(92, 96, 23);
/* oklch */ color: oklch(47.1% 0.093 112.6);
Tailwind
colors: {
  custom: {
    50: '#8d8d5a',
    500: '#5c6017',
    950: '#000000',
  },
}
SCSS
$custom: #5c6017;
$custom-light: #8d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6017",
  "rgb": {
    "r": 92,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 63.288,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.09316,
    "h": 112.6
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#5C6017
secondary
#413C97
accent
#43E44C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6017

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

Preview Lab → · Contrast checker → · Palette generator →

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