#56511F#56511F

#56511F is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.070 H 103.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#56511F
RGBrgb(86, 81, 31)
HSLhsl(55, 47%, 23%)
HSVhsv(55, 64%, 34%)
CMYKcmyk(0%, 5.8%, 64%, 66.3%)
CIE-LABlab(33.90, -5.25, 29.48)
CIE-LCHlch(33.90, 29.94, 100.09°)
OKLaboklab(42.84% -0.0165 0.068)
OKLCHoklch(42.84% 0.07 103.6)
XYZxyz(7.0277, 7.9625, 2.4628)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56511F #1F2456
analogous
#56351F #56511F #3F561F
triadic
#56511F #1F5651 #511F56
tetradic
#56511F #1F5635 #1F2456 #561F3F
square
#56511F #1F5635 #1F2456 #561F3F
split-complementary
#56511F #1F3F56 #351F56
monochromatic
#161508 #29270F #56511F #837B2F #B0A63F

Accessibility & contrast

On white

8.10
#56511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#56511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56511F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56511F#FFFFFF#000000##FFFFFF
##56511F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1A
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#5C4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56511f;
/* rgb */ color: rgb(86, 81, 31);
/* oklch */ color: oklch(42.8% 0.070 103.6);
Tailwind
colors: {
  custom: {
    50: '#87815d',
    500: '#56511f',
    950: '#000000',
  },
}
SCSS
$custom: #56511f;
$custom-light: #87815d;
$custom-dark: #000000;
JSON
{
  "hex": "#56511f",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 54.545,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4284,
    "c": 0.06994,
    "h": 103.6
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#56511F
secondary
#464C8B
accent
#5DD751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #56511F

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

Preview Lab → · Contrast checker → · Palette generator →

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