#51540C color

#51540C rgb(81, 84, 12)
Shades of yellow

The hex color #51540C is a very dark, moderate yellow.

In the RGB color model it is made of 31.8% red, 32.9% green and 4.7% blue (81, 84, 12).

Its hue angle is 63°, with 75% saturation and 19% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 86% yellow and 67% black.

The closest named color is Army Green (#4B5320), a difference of 4.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 8.01:1).

#51540C color codes

HEX#51540C
RGBrgb(81, 84, 12)
RGB percentrgb(31.8%, 32.9%, 4.7%)
HSLhsl(63, 75%, 19%)
HSV / HSBhsv(63, 86%, 33%)
CMYKcmyk(4%, 0%, 86%, 67%)
CIE LABlab(34.22, -10.66, 37.97)
CIE LCHlch(34.22, 39.43, 105.68)
CIE XYZxyz(6.63, 8.117, 1.565)
Decimal5329932
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51540C, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #51540CRatioAAAAAAA large
Sample text2.62:1FailFailFail
Sample text8.01:1PassPassPass
#51540C as text onRatioAAAAAAA large
Sample text8.01:1PassPassPass
Sample text2.62:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #51540C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51540c; }
.text { color: #51540c; }
.border { border: 2px solid #51540c; }
.transparent { background-color: rgb(81 84 12 / 50%); }
.gradient { background: linear-gradient(to right, #51540c, #2d540c); }
Background
Text color
Border

Similar colors

Questions

What color is #51540C?
#51540C is a very dark, moderate yellow, closest to the named color Army Green. It belongs to the yellow family of colors.
What is the RGB value of #51540C?
The RGB value is 81, 84, 12: 81 red, 84 green and 12 blue on a 0 to 255 scale.
What is the complementary color of #51540C?
The complementary color is #0F0C54, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51540C?
White text. Black text has a contrast ratio of 2.62:1 and white text 8.01:1. WCAG asks for at least 4.5:1 for normal text.