#5C6015#5C6015

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

Color values

HEX#5C6015
RGBrgb(92, 96, 21)
HSLhsl(63, 64%, 23%)
HSVhsv(63, 78%, 38%)
CMYKcmyk(4.2%, 0%, 78.1%, 62.4%)
CIE-LABlab(39.06, -11.73, 39.54)
CIE-LCHlch(39.06, 41.24, 106.52°)
OKLaboklab(47.07% -0.0363 0.0873)
OKLCHoklch(47.07% 0.095 112.6)
XYZxyz(8.7321, 10.6954, 2.3138)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6015 #191560
analogous
#603E15 #5C6015 #366015
triadic
#5C6015 #155C60 #60155C
tetradic
#5C6015 #15603E #191560 #601536
square
#5C6015 #15603E #191560 #601536
split-complementary
#5C6015 #153660 #3E1560
monochromatic
#181905 #2C2E0A #5C6015 #8C9220 #BCC42B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6015#FFFFFF#000000##FFFFFF
##5C60151.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)
#685B06
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#635A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c6015;
/* rgb */ color: rgb(92, 96, 21);
/* oklch */ color: oklch(47.1% 0.095 112.6);
Tailwind
colors: {
  custom: {
    50: '#8d8d59',
    500: '#5c6015',
    950: '#000000',
  },
}
SCSS
$custom: #5c6015;
$custom-light: #8d8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6015",
  "rgb": {
    "r": 92,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 63.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.09451,
    "h": 112.6
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#5C6015
secondary
#3F3A97
accent
#41E74A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6015

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

Preview Lab → · Contrast checker → · Palette generator →

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