#51512A color
The hex color #51512A is a dark, desaturated yellow.
In the RGB color model it is made of 31.8% red, 31.8% green and 16.5% blue (81, 81, 42).
Its hue angle is 60°, with 32% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 48% yellow and 68% black.
The closest named color is Jungle King (#4F4D32), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.2:1).
#51512A color codes
| HEX | #51512A | |
|---|---|---|
| RGB | rgb(81, 81, 42) | |
| RGB percent | rgb(31.8%, 31.8%, 16.5%) | |
| HSL | hsl(60, 32%, 24%) | |
| HSV / HSB | hsv(60, 48%, 32%) | |
| CMYK | cmyk(0%, 0%, 48%, 68%) | |
| CIE LAB | lab(33.57, -6.55, 22.85) | |
| CIE LCH | lch(33.57, 23.77, 105.99) | |
| CIE XYZ | xyz(6.754, 7.802, 3.34) | |
| Decimal | 5329194 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51512A, 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 #51512A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.2:1 | Pass | Pass | Pass |
| #51512A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.2:1 | Pass | Pass | Pass |
| Sample text | 2.56:1 | Fail | Fail | Fail |
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 #51512A looks to people with the most common types of color vision deficiency.
#574e27Protanopia
no red cones#57502cDeuteranopia
no green cones#564d48Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #51512a; }
.text { color: #51512a; }
.border { border: 2px solid #51512a; }
.transparent { background-color: rgb(81 81 42 / 50%); }
.gradient { background: linear-gradient(to right, #51512a, #3d512a); }
Similar colors
#4f4d32Jungle King#4b5320Army Green#5e582bReptile Revenge#4b5338Broccoli Green#444411Alligator Gladiator#585d40Cypress#4e4b35Olive Leaf#5f5537Olive Bark
Questions
- What color is #51512A?
- #51512A is a dark, desaturated yellow, closest to the named color Jungle King. It belongs to the yellow family of colors.
- What is the RGB value of #51512A?
- The RGB value is 81, 81, 42: 81 red, 81 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #51512A?
- The complementary color is #2A2A51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51512A?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.2:1. WCAG asks for at least 4.5:1 for normal text.