#525F42 color
The hex color #525F42 is a dark, grayish yellow-green.
In the RGB color model it is made of 32.2% red, 37.3% green and 25.9% blue (82, 95, 66).
Its hue angle is 87°, with 18% saturation and 32% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 31% yellow and 63% black.
The closest named color is Heavy Green (#49583E), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.83:1).
#525F42 color codes
| HEX | #525F42 | |
|---|---|---|
| RGB | rgb(82, 95, 66) | |
| RGB percent | rgb(32.2%, 37.3%, 25.9%) | |
| HSL | hsl(87, 18%, 32%) | |
| HSV / HSB | hsv(87, 31%, 37%) | |
| CMYK | cmyk(14%, 0%, 31%, 63%) | |
| CIE LAB | lab(38.5, -10.84, 14.99) | |
| CIE LCH | lch(38.5, 18.5, 125.87) | |
| CIE XYZ | xyz(8.555, 10.372, 6.704) | |
| Decimal | 5398338 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #525F42, 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 #525F42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.07:1 | Fail | Fail | Pass |
| Sample text | 6.83:1 | Pass | Fail | Pass |
| #525F42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.83:1 | Pass | Fail | Pass |
| Sample text | 3.07:1 | Fail | Fail | Pass |
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 #525F42 looks to people with the most common types of color vision deficiency.
#625b40Protanopia
no red cones#605a43Deuteranopia
no green cones#535c57Tritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #525f42; }
.text { color: #525f42; }
.border { border: 2px solid #525f42; }
.transparent { background-color: rgb(82 95 66 / 50%); }
.gradient { background: linear-gradient(to right, #525f42, #445f42); }
Similar colors
#49583eHeavy Green#4b5d46Muddy Olive#585d40Cypress#5f674bMonstera#595d45Tree of Life#4b5338Broccoli Green#445533Zen Garden Olive#4e5a4aVerdant Hush
Closest common color name: Ebony.
Questions
- What color is #525F42?
- #525F42 is a dark, grayish yellow-green, closest to the named color Heavy Green. It belongs to the green family of colors.
- What is the RGB value of #525F42?
- The RGB value is 82, 95, 66: 82 red, 95 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #525F42?
- The complementary color is #4F425F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #525F42?
- White text. Black text has a contrast ratio of 3.07:1 and white text 6.83:1. WCAG asks for at least 4.5:1 for normal text.