#51561A#51561A

#51561A is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.6% C 0.082 H 113.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#51561A
RGBrgb(81, 86, 26)
HSLhsl(65, 54%, 22%)
HSVhsv(65, 70%, 34%)
CMYKcmyk(5.8%, 0%, 69.8%, 66.3%)
CIE-LABlab(34.96, -11.01, 32.98)
CIE-LCHlch(34.96, 34.77, 108.45°)
OKLaboklab(43.55% -0.033 0.0747)
OKLCHoklch(43.55% 0.082 113.8)
XYZxyz(6.9078, 8.4796, 2.2499)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51561A #1F1A56
analogous
#563D1A #51561A #33561A
triadic
#51561A #1A5156 #561A51
tetradic
#51561A #1A563D #1F1A56 #561A33
square
#51561A #1A563D #1F1A56 #561A33
split-complementary
#51561A #1A3356 #3D1A56
monochromatic
#161707 #25270C #51561A #7D8528 #AAB436

Accessibility & contrast

On white

7.79
#51561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#51561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51561A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51561A#FFFFFF#000000##FFFFFF
##51561A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#57514A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #51561a;
/* rgb */ color: rgb(81, 86, 26);
/* oklch */ color: oklch(43.6% 0.082 113.8);
Tailwind
colors: {
  custom: {
    50: '#84855a',
    500: '#51561a',
    950: '#000000',
  },
}
SCSS
$custom: #51561a;
$custom-light: #84855a;
$custom-dark: #000000;
JSON
{
  "hex": "#51561a",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 65,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43554,
    "c": 0.08171,
    "h": 113.8
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#51561A
secondary
#46408C
accent
#4BDD57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #51561A

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

Preview Lab → · Contrast checker → · Palette generator →

#51561A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva