#5C6718#5C6718

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

Color values

HEX#5C6718
RGBrgb(92, 103, 24)
HSLhsl(68, 62%, 25%)
HSVhsv(68, 77%, 40%)
CMYKcmyk(10.7%, 0%, 76.7%, 59.6%)
CIE-LABlab(41.28, -15.45, 40.50)
CIE-LCHlch(41.28, 43.35, 110.88°)
OKLaboklab(48.85% -0.0463 0.0899)
OKLCHoklch(48.85% 0.101 117.3)
XYZxyz(9.4290, 12.0419, 2.6916)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6718 #231867
analogous
#674A18 #5C6718 #356718
triadic
#5C6718 #185C67 #67185C
tetradic
#5C6718 #18674A #231867 #671835
square
#5C6718 #18674A #231867 #671835
split-complementary
#5C6718 #183567 #4A1867
monochromatic
#161906 #30350C #5C6718 #889924 #B5CA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6718#FFFFFF#000000##FFFFFF
##5C67181.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)
#6E6109
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#626158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c6718;
/* rgb */ color: rgb(92, 103, 24);
/* oklch */ color: oklch(48.9% 0.101 117.3);
Tailwind
colors: {
  custom: {
    50: '#8d925b',
    500: '#5c6718',
    950: '#000000',
  },
}
SCSS
$custom: #5c6718;
$custom-light: #8d925b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6718",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 68.354,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.10111,
    "h": 117.3
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#5C6718
secondary
#4B3E9D
accent
#43E559
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C6718

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

Preview Lab → · Contrast checker → · Palette generator →

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