#56510B#56510B

#56510B is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.085 H 105.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#56510B
RGBrgb(86, 81, 11)
HSLhsl(56, 77%, 19%)
HSVhsv(56, 87%, 34%)
CMYKcmyk(0%, 5.8%, 87.2%, 66.3%)
CIE-LABlab(33.75, -6.45, 38.06)
CIE-LCHlch(33.75, 38.60, 99.62°)
OKLaboklab(42.67% -0.0222 0.0823)
OKLCHoklch(42.67% 0.085 105.1)
XYZxyz(6.8409, 7.8877, 1.4787)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56510B #0B1056
analogous
#562C0B #56510B #36560B
triadic
#56510B #0B5651 #510B56
tetradic
#56510B #0B562C #0B1056 #560B36
square
#56510B #0B562C #0B1056 #560B36
split-complementary
#56510B #0B3656 #2C0B56
monochromatic
#1B1A03 #201E04 #56510B #8C8412 #C3B719

Accessibility & contrast

On white

8.15
#56510B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#56510B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56510B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56510B#FFFFFF#000000##FFFFFF
##56510B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#5B5111
Tritanopia (blue-blind)
#5D4B44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56510b;
/* rgb */ color: rgb(86, 81, 11);
/* oklch */ color: oklch(42.7% 0.085 105.1);
Tailwind
colors: {
  custom: {
    50: '#898152',
    500: '#56510b',
    950: '#000000',
  },
}
SCSS
$custom: #56510b;
$custom-light: #898152;
$custom-dark: #000000;
JSON
{
  "hex": "#56510b",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 11
  },
  "hsl": {
    "h": 56,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.08522,
    "h": 105.1
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#56510B
secondary
#2B3291
accent
#41F434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A02
muted
#7D7C78

Preview Lab

Preview with #56510B

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

Preview Lab → · Contrast checker → · Palette generator →

#56510B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva