#525127 color
The hex color #525127 is a dark, desaturated yellow.
In the RGB color model it is made of 32.2% red, 31.8% green and 15.3% blue (82, 81, 39).
Its hue angle is 59°, with 36% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 52% yellow and 68% black.
The closest named color is Reptile Revenge (#5E582B), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.19:1).
#525127 color codes
| HEX | #525127 | |
|---|---|---|
| RGB | rgb(82, 81, 39) | |
| RGB percent | rgb(32.2%, 31.8%, 15.3%) | |
| HSL | hsl(59, 36%, 24%) | |
| HSV / HSB | hsv(59, 52%, 32%) | |
| CMYK | cmyk(0%, 1%, 52%, 68%) | |
| CIE LAB | lab(33.62, -6.41, 24.66) | |
| CIE LCH | lch(33.62, 25.48, 104.58) | |
| CIE XYZ | xyz(6.788, 7.825, 3.072) | |
| Decimal | 5394727 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #525127, 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 #525127 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.19:1 | Pass | Pass | Pass |
| #525127 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.19:1 | Pass | Pass | Pass |
| Sample text | 2.57: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 #525127 looks to people with the most common types of color vision deficiency.
#574e23Protanopia
no red cones#585029Deuteranopia
no green cones#574c47Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #525127; }
.text { color: #525127; }
.border { border: 2px solid #525127; }
.transparent { background-color: rgb(82 81 39 / 50%); }
.gradient { background: linear-gradient(to right, #525127, #3e5227); }
Similar colors
#5e582bReptile Revenge#4b5320Army Green#4f4d32Jungle King#444411Alligator Gladiator#5f5537Olive Bark#4b5338Broccoli Green#585d40Cypress#4e4b35Olive Leaf
Questions
- What color is #525127?
- #525127 is a dark, desaturated yellow, closest to the named color Reptile Revenge. It belongs to the yellow family of colors.
- What is the RGB value of #525127?
- The RGB value is 82, 81, 39: 82 red, 81 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #525127?
- The complementary color is #272852, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #525127?
- White text. Black text has a contrast ratio of 2.57:1 and white text 8.19:1. WCAG asks for at least 4.5:1 for normal text.