#56510D#56510D

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

Color values

HEX#56510D
RGBrgb(86, 81, 13)
HSLhsl(56, 74%, 19%)
HSVhsv(56, 85%, 34%)
CMYKcmyk(0%, 5.8%, 84.9%, 66.3%)
CIE-LABlab(33.76, -6.37, 37.39)
CIE-LCHlch(33.76, 37.93, 99.67°)
OKLaboklab(42.68% -0.0218 0.0813)
OKLCHoklch(42.68% 0.084 105)
XYZxyz(6.8531, 7.8926, 1.5431)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56510D #0D1256
analogous
#562D0D #56510D #37560D
triadic
#56510D #0D5651 #510D56
tetradic
#56510D #0D562D #0D1256 #560D37
square
#56510D #0D562D #0D1256 #560D37
split-complementary
#56510D #0D3756 #2D0D56
monochromatic
#1B1904 #211F05 #56510D #8B8315 #C0B51D

Accessibility & contrast

On white

8.14
#56510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56510D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56510D#FFFFFF#000000##FFFFFF
##56510D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56510d;
/* rgb */ color: rgb(86, 81, 13);
/* oklch */ color: oklch(42.7% 0.084 105.0);
Tailwind
colors: {
  custom: {
    50: '#898153',
    500: '#56510d',
    950: '#000000',
  },
}
SCSS
$custom: #56510d;
$custom-light: #898153;
$custom-dark: #000000;
JSON
{
  "hex": "#56510d",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 55.89,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.08415,
    "h": 105
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#56510D
secondary
#2E3591
accent
#44F037
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #56510D

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

Preview Lab → · Contrast checker → · Palette generator →

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