#51560D#51560D

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

Color values

HEX#51560D
RGBrgb(81, 86, 13)
HSLhsl(64, 74%, 19%)
HSVhsv(64, 85%, 34%)
CMYKcmyk(5.8%, 0%, 84.9%, 66.3%)
CIE-LABlab(34.87, -11.77, 38.21)
CIE-LCHlch(34.87, 39.98, 107.11°)
OKLaboklab(43.45% -0.0365 0.0833)
OKLCHoklch(43.45% 0.091 113.7)
XYZxyz(6.7940, 8.4341, 1.6507)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51560D #120D56
analogous
#56370D #51560D #2D560D
triadic
#51560D #0D5156 #560D51
tetradic
#51560D #0D5637 #120D56 #560D2D
square
#51560D #0D5637 #120D56 #560D2D
split-complementary
#51560D #0D2D56 #370D56
monochromatic
#191B04 #1F2105 #51560D #838B15 #B5C01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51560D#FFFFFF#000000##FFFFFF
##51560D1.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)
#5D5314
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #51560d;
/* rgb */ color: rgb(81, 86, 13);
/* oklch */ color: oklch(43.5% 0.091 113.7);
Tailwind
colors: {
  custom: {
    50: '#858553',
    500: '#51560d',
    950: '#000000',
  },
}
SCSS
$custom: #51560d;
$custom-light: #858553;
$custom-dark: #000000;
JSON
{
  "hex": "#51560d",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 64.11,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.09092,
    "h": 113.7
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#51560D
secondary
#352E91
accent
#37F044
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51560D

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

Preview Lab → · Contrast checker → · Palette generator →

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