#5F560F#5F560F

#5F560F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.9% C 0.087 H 101.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5F560F
RGBrgb(95, 86, 15)
HSLhsl(53, 73%, 22%)
HSVhsv(53, 84%, 37%)
CMYKcmyk(0%, 9.5%, 84.2%, 62.7%)
CIE-LABlab(36.22, -4.75, 39.23)
CIE-LCHlch(36.22, 39.52, 96.91°)
OKLaboklab(44.86% -0.0176 0.0852)
OKLCHoklch(44.86% 0.087 101.6)
XYZxyz(8.1337, 9.1233, 1.7844)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F560F #0F185F
analogous
#5F2E0F #5F560F #405F0F
triadic
#5F560F #0F5F56 #560F5F
tetradic
#5F560F #0F5F2E #0F185F #5F0F40
square
#5F560F #0F5F2E #0F185F #5F0F40
split-complementary
#5F560F #0F405F #2E0F5F
monochromatic
#1A1804 #2A2607 #5F560F #948617 #C9B620

Accessibility & contrast

On white

7.43
#5F560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5F560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F560F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F560F#FFFFFF#000000##FFFFFF
##5F560F1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f560f;
/* rgb */ color: rgb(95, 86, 15);
/* oklch */ color: oklch(44.9% 0.087 101.6);
Tailwind
colors: {
  custom: {
    50: '#908555',
    500: '#5f560f',
    950: '#000000',
  },
}
SCSS
$custom: #5f560f;
$custom-light: #908555;
$custom-dark: #000000;
JSON
{
  "hex": "#5f560f",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 53.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.08701,
    "h": 101.6
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#5F560F
secondary
#323D98
accent
#4DEF38
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F560F

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

Preview Lab → · Contrast checker → · Palette generator →

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