#5C6715#5C6715

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

Color values

HEX#5C6715
RGBrgb(92, 103, 21)
HSLhsl(68, 66%, 24%)
HSVhsv(68, 80%, 40%)
CMYKcmyk(10.7%, 0%, 79.6%, 59.6%)
CIE-LABlab(41.26, -15.61, 41.61)
CIE-LCHlch(41.26, 44.44, 110.56°)
OKLaboklab(48.83% -0.0471 0.0916)
OKLCHoklch(48.83% 0.103 117.2)
XYZxyz(9.3995, 12.0301, 2.5362)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6715 #201567
analogous
#674915 #5C6715 #336715
triadic
#5C6715 #155C67 #67155C
tetradic
#5C6715 #156749 #201567 #671533
square
#5C6715 #156749 #201567 #671533
split-complementary
#5C6715 #153367 #491567
monochromatic
#171905 #2F340B #5C6715 #899A1F #B7CD2A

Accessibility & contrast

On white

6.17
#5C6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C6715
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6715#FFFFFF#000000##FFFFFF
##5C67151.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c6715;
/* rgb */ color: rgb(92, 103, 21);
/* oklch */ color: oklch(48.8% 0.103 117.2);
Tailwind
colors: {
  custom: {
    50: '#8d925a',
    500: '#5c6715',
    950: '#000000',
  },
}
SCSS
$custom: #5c6715;
$custom-light: #8d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6715",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 68.049,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.10302,
    "h": 117.2
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#5C6715
secondary
#473A9E
accent
#3FE956
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C6715

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

Preview Lab → · Contrast checker → · Palette generator →

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