#5C560F#5C560F

#5C560F is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.5% C 0.087 H 104.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5C560F
RGBrgb(92, 86, 15)
HSLhsl(55, 72%, 21%)
HSVhsv(55, 84%, 36%)
CMYKcmyk(0%, 6.5%, 83.7%, 63.9%)
CIE-LABlab(35.92, -6.24, 38.85)
CIE-LCHlch(35.92, 39.35, 99.13°)
OKLaboklab(44.54% -0.0216 0.0845)
OKLCHoklch(44.54% 0.087 104.3)
XYZxyz(7.8280, 8.9657, 1.7701)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C560F #0F155C
analogous
#5C2F0F #5C560F #3B5C0F
triadic
#5C560F #0F5C56 #560F5C
tetradic
#5C560F #0F5C2F #0F155C #5C0F3B
square
#5C560F #0F5C2F #0F155C #5C0F3B
split-complementary
#5C560F #0F3B5C #2F0F5C
monochromatic
#1A1904 #272506 #5C560F #918718 #C5B820

Accessibility & contrast

On white

7.52
#5C560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5C560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C560F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C560F#FFFFFF#000000##FFFFFF
##5C560F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#615615
Tritanopia (blue-blind)
#644F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c560f;
/* rgb */ color: rgb(92, 86, 15);
/* oklch */ color: oklch(44.5% 0.087 104.3);
Tailwind
colors: {
  custom: {
    50: '#8d8555',
    500: '#5c560f',
    950: '#000000',
  },
}
SCSS
$custom: #5c560f;
$custom-light: #8d8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5c560f",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 55.325,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.08725,
    "h": 104.3
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#5C560F
secondary
#313995
accent
#47EF39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C560F

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

Preview Lab → · Contrast checker → · Palette generator →

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