#504602 color
The hex color #504602 is a very dark, vivid yellow.
In the RGB color model it is made of 31.4% red, 27.5% green and 0.8% blue (80, 70, 2).
Its hue angle is 52°, with 95% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 98% yellow and 69% black.
The closest named color is Alligator Gladiator (#444411), a difference of 5.2 ΔE.
White text is the more readable choice on this background (contrast 9.47:1).
#504602 color codes
| HEX | #504602 | |
|---|---|---|
| RGB | rgb(80, 70, 2) | |
| RGB percent | rgb(31.4%, 27.5%, 0.8%) | |
| HSL | hsl(52, 95%, 16%) | |
| HSV / HSB | hsv(52, 98%, 31%) | |
| CMYK | cmyk(0%, 12%, 98%, 69%) | |
| CIE LAB | lab(29.64, -3.21, 37.62) | |
| CIE LCH | lch(29.64, 37.75, 94.88) | |
| CIE XYZ | xyz(5.51, 6.09, 0.943) | |
| Decimal | 5260802 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504602, 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 #504602 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.47:1 | Pass | Pass | Pass |
| #504602 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.47:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #504602 looks to people with the most common types of color vision deficiency.
#4e4400Protanopia
no red cones#514707Deuteranopia
no green cones#57403aTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #504602; }
.text { color: #504602; }
.border { border: 2px solid #504602; }
.transparent { background-color: rgb(80 70 2 / 50%); }
.gradient { background: linear-gradient(to right, #504602, #335002); }
Similar colors
#444411Alligator Gladiator#404404Green Not Found#665500Ayahuasca Vine#5e582bReptile Revenge#373e02Dark Olive#563c0dPineapple#333300Wasabi Nori#4e3e1fAvocado Stone
Closest common color name: Army Green.
Questions
- What color is #504602?
- #504602 is a very dark, vivid yellow, closest to the named color Alligator Gladiator. It belongs to the yellow family of colors.
- What is the RGB value of #504602?
- The RGB value is 80, 70, 2: 80 red, 70 green and 2 blue on a 0 to 255 scale.
- What is the complementary color of #504602?
- The complementary color is #020C50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504602?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.47:1. WCAG asks for at least 4.5:1 for normal text.