#51560E#51560E

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

Color values

HEX#51560E
RGBrgb(81, 86, 14)
HSLhsl(64, 72%, 20%)
HSVhsv(64, 84%, 34%)
CMYKcmyk(5.8%, 0%, 83.7%, 66.3%)
CIE-LABlab(34.88, -11.72, 37.87)
CIE-LCHlch(34.88, 39.64, 107.20°)
OKLaboklab(43.46% -0.0363 0.0828)
OKLCHoklch(43.46% 0.09 113.7)
XYZxyz(6.8006, 8.4368, 1.6856)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51560E #130E56
analogous
#56370E #51560E #2D560E
triadic
#51560E #0E5156 #560E51
tetradic
#51560E #0E5637 #130E56 #560E2D
square
#51560E #0E5637 #130E56 #560E2D
split-complementary
#51560E #0E2D56 #370E56
monochromatic
#191A04 #1F2105 #51560E #838B17 #B4BF1F

Accessibility & contrast

On white

7.81
#51560E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51560E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51560E#FFFFFF#000000##FFFFFF
##51560E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51560e;
/* rgb */ color: rgb(81, 86, 14);
/* oklch */ color: oklch(43.5% 0.090 113.7);
Tailwind
colors: {
  custom: {
    50: '#858554',
    500: '#51560e',
    950: '#000000',
  },
}
SCSS
$custom: #51560e;
$custom-light: #858554;
$custom-dark: #000000;
JSON
{
  "hex": "#51560e",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 64.167,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.09036,
    "h": 113.7
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#51560E
secondary
#363090
accent
#39EF46
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51560E

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

Preview Lab → · Contrast checker → · Palette generator →

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