#525138 color
The hex color #525138 is a dark, grayish yellow.
In the RGB color model it is made of 32.2% red, 31.8% green and 22% blue (82, 81, 56).
Its hue angle is 58°, with 19% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 32% yellow and 68% black.
The closest named color is Jungle King (#4F4D32), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.1:1).
#525138 color codes
| HEX | #525138 | |
|---|---|---|
| RGB | rgb(82, 81, 56) | |
| RGB percent | rgb(32.2%, 31.8%, 22%) | |
| HSL | hsl(58, 19%, 27%) | |
| HSV / HSB | hsv(58, 32%, 32%) | |
| CMYK | cmyk(0%, 1%, 32%, 68%) | |
| CIE LAB | lab(33.91, -4.19, 14.9) | |
| CIE LCH | lch(33.91, 15.48, 105.71) | |
| CIE XYZ | xyz(7.136, 7.964, 4.902) | |
| Decimal | 5394744 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #525138, 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 #525138 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.1:1 | Pass | Pass | Pass |
| #525138 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.1:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #525138 looks to people with the most common types of color vision deficiency.
#554f36Protanopia
no red cones#565039Deuteranopia
no green cones#564e4aTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #525138; }
.text { color: #525138; }
.border { border: 2px solid #525138; }
.transparent { background-color: rgb(82 81 56 / 50%); }
.gradient { background: linear-gradient(to right, #525138, #465238); }
Similar colors
#4f4d32Jungle King#4e4b35Olive Leaf#4d503cKelp#4b5338Broccoli Green#595d45Tree of Life#585d40Cypress#5f5537Olive Bark#5e582bReptile Revenge
Closest common color name: Ebony.
Questions
- What color is #525138?
- #525138 is a dark, grayish yellow, closest to the named color Jungle King. It belongs to the yellow family of colors.
- What is the RGB value of #525138?
- The RGB value is 82, 81, 56: 82 red, 81 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #525138?
- The complementary color is #383952, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #525138?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.1:1. WCAG asks for at least 4.5:1 for normal text.