#51560B#51560B

#51560B is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.092 H 113.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#51560B
RGBrgb(81, 86, 11)
HSLhsl(64, 77%, 19%)
HSVhsv(64, 87%, 34%)
CMYKcmyk(5.8%, 0%, 87.2%, 66.3%)
CIE-LABlab(34.86, -11.85, 38.84)
CIE-LCHlch(34.86, 40.61, 106.96°)
OKLaboklab(43.44% -0.0369 0.0842)
OKLCHoklch(43.44% 0.092 113.7)
XYZxyz(6.7818, 8.4292, 1.5863)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51560B #100B56
analogous
#56360B #51560B #2C560B
triadic
#51560B #0B5156 #560B51
tetradic
#51560B #0B5636 #100B56 #560B2C
square
#51560B #0B5636 #100B56 #560B2C
split-complementary
#51560B #0B2C56 #360B56
monochromatic
#1A1B03 #1E2004 #51560B #848C12 #B7C319

Accessibility & contrast

On white

7.82
#51560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#51560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51560B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51560B#FFFFFF#000000##FFFFFF
##51560B1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#5D5312
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #51560b;
/* rgb */ color: rgb(81, 86, 11);
/* oklch */ color: oklch(43.4% 0.092 113.7);
Tailwind
colors: {
  custom: {
    50: '#858553',
    500: '#51560b',
    950: '#000000',
  },
}
SCSS
$custom: #51560b;
$custom-light: #858553;
$custom-dark: #000000;
JSON
{
  "hex": "#51560b",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 64,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.09195,
    "h": 113.7
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#51560B
secondary
#322B91
accent
#34F441
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51560B

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

Preview Lab → · Contrast checker → · Palette generator →

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