#56501F#56501F

#56501F is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.069 H 102.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#56501F
RGBrgb(86, 80, 31)
HSLhsl(53, 47%, 23%)
HSVhsv(53, 64%, 34%)
CMYKcmyk(0%, 7%, 64%, 66.3%)
CIE-LABlab(33.59, -4.65, 29.14)
CIE-LCHlch(33.59, 29.50, 99.06°)
OKLaboklab(42.59% -0.0147 0.0672)
OKLCHoklch(42.59% 0.069 102.4)
XYZxyz(6.9540, 7.8149, 2.4382)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56501F #1F2556
analogous
#56341F #56501F #40561F
triadic
#56501F #1F5650 #501F56
tetradic
#56501F #1F5634 #1F2556 #561F40
square
#56501F #1F5634 #1F2556 #561F40
split-complementary
#56501F #1F4056 #341F56
monochromatic
#161508 #29260F #56501F #837A2F #B0A43F

Accessibility & contrast

On white

8.19
#56501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#56501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56501F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56501F#FFFFFF#000000##FFFFFF
##56501F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#595022
Tritanopia (blue-blind)
#5C4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56501f;
/* rgb */ color: rgb(86, 80, 31);
/* oklch */ color: oklch(42.6% 0.069 102.4);
Tailwind
colors: {
  custom: {
    50: '#87805d',
    500: '#56501f',
    950: '#000000',
  },
}
SCSS
$custom: #56501f;
$custom-light: #87805d;
$custom-dark: #000000;
JSON
{
  "hex": "#56501f",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 53.455,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.06884,
    "h": 102.4
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#56501F
secondary
#464E8B
accent
#60D751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #56501F

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

Preview Lab → · Contrast checker → · Palette generator →

#56501F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva