#525140 color
The hex color #525140 is a dark, grayish yellow.
In the RGB color model it is made of 32.2% red, 31.8% green and 25.1% blue (82, 81, 64).
Its hue angle is 57°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 22% yellow and 68% black.
The closest named color is Kelp (#4D503C), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.05:1).
#525140 color codes
| HEX | #525140 | |
|---|---|---|
| RGB | rgb(82, 81, 64) | |
| RGB percent | rgb(32.2%, 31.8%, 25.1%) | |
| HSL | hsl(57, 12%, 29%) | |
| HSV / HSB | hsv(57, 22%, 32%) | |
| CMYK | cmyk(0%, 1%, 22%, 68%) | |
| CIE LAB | lab(34.08, -2.89, 10.18) | |
| CIE LCH | lch(34.08, 10.58, 105.84) | |
| CIE XYZ | xyz(7.347, 8.049, 6.016) | |
| Decimal | 5394752 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #525140, 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 #525140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.61:1 | Fail | Fail | Fail |
| Sample text | 8.05:1 | Pass | Pass | Pass |
| #525140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.05:1 | Pass | Pass | Pass |
| Sample text | 2.61: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 #525140 looks to people with the most common types of color vision deficiency.
#54503fProtanopia
no red cones#555141Deuteranopia
no green cones#554f4cTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #525140; }
.text { color: #525140; }
.border { border: 2px solid #525140; }
.transparent { background-color: rgb(82 81 64 / 50%); }
.gradient { background: linear-gradient(to right, #525140, #4a5240); }
Similar colors
#4d503cKelp#4e4b35Olive Leaf#4f4d32Jungle King#46473eHeavy Metal#57534bMasala#595d45Tree of Life#4b5338Broccoli Green#555d50Ebony
Questions
- What color is #525140?
- #525140 is a dark, grayish yellow, closest to the named color Kelp. It belongs to the gray family of colors.
- What is the RGB value of #525140?
- The RGB value is 82, 81, 64: 82 red, 81 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #525140?
- The complementary color is #404152, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #525140?
- White text. Black text has a contrast ratio of 2.61:1 and white text 8.05:1. WCAG asks for at least 4.5:1 for normal text.