#5D560F#5D560F

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

Color values

HEX#5D560F
RGBrgb(93, 86, 15)
HSLhsl(55, 72%, 21%)
HSVhsv(55, 84%, 36%)
CMYKcmyk(0%, 7.5%, 83.9%, 63.5%)
CIE-LABlab(36.02, -5.75, 38.98)
CIE-LCHlch(36.02, 39.40, 98.39°)
OKLaboklab(44.65% -0.0202 0.0848)
OKLCHoklch(44.65% 0.087 103.4)
XYZxyz(7.9286, 9.0176, 1.7748)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D560F #0F165D
analogous
#5D2F0F #5D560F #3D5D0F
triadic
#5D560F #0F5D56 #560F5D
tetradic
#5D560F #0F5D2F #0F165D #5D0F3D
square
#5D560F #0F5D2F #0F165D #5D0F3D
split-complementary
#5D560F #0F3D5D #2F0F5D
monochromatic
#1A1804 #282506 #5D560F #928717 #C6B720

Accessibility & contrast

On white

7.49
#5D560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D560F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D560F#FFFFFF#000000##FFFFFF
##5D560F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d560f;
/* rgb */ color: rgb(93, 86, 15);
/* oklch */ color: oklch(44.6% 0.087 103.4);
Tailwind
colors: {
  custom: {
    50: '#8e8555',
    500: '#5d560f',
    950: '#000000',
  },
}
SCSS
$custom: #5d560f;
$custom-light: #8e8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5d560f",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 54.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.08716,
    "h": 103.4
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#5D560F
secondary
#313A96
accent
#49EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D560F

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

Preview Lab → · Contrast checker → · Palette generator →

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