#5C6815#5C6815

#5C6815 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.104 H 117.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5C6815
RGBrgb(92, 104, 21)
HSLhsl(69, 66%, 25%)
HSVhsv(69, 80%, 41%)
CMYKcmyk(11.5%, 0%, 79.8%, 59.2%)
CIE-LABlab(41.58, -16.15, 41.91)
CIE-LCHlch(41.58, 44.91, 111.08°)
OKLaboklab(49.09% -0.0486 0.0923)
OKLCHoklch(49.09% 0.104 117.8)
XYZxyz(9.4995, 12.2302, 2.5695)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6815 #211568
analogous
#684B15 #5C6815 #326815
triadic
#5C6815 #155C68 #68155C
tetradic
#5C6815 #15684B #211568 #681532
square
#5C6815 #15684B #211568 #681532
split-complementary
#5C6815 #153268 #4B1568
monochromatic
#171905 #2F350B #5C6815 #899B1F #B6CE2A

Accessibility & contrast

On white

6.09
#5C6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5C6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6815
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6815#FFFFFF#000000##FFFFFF
##5C68151.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6203
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#626258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c6815;
/* rgb */ color: rgb(92, 104, 21);
/* oklch */ color: oklch(49.1% 0.104 117.8);
Tailwind
colors: {
  custom: {
    50: '#8d935a',
    500: '#5c6815',
    950: '#000000',
  },
}
SCSS
$custom: #5c6815;
$custom-light: #8d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6815",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 68.675,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.10427,
    "h": 117.8
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#5C6815
secondary
#493A9F
accent
#3EE957
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6815

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

Preview Lab → · Contrast checker → · Palette generator →

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