#CCA211 color
The hex color #CCA211 is a vivid yellow.
In the RGB color model it is made of 80% red, 63.5% green and 6.7% blue (204, 162, 17).
Its hue angle is 47°, with 85% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 92% yellow and 20% black.
The closest named color is Mustard Seed (#C69F26), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.74:1).
#CCA211 color codes
| HEX | #CCA211 | |
|---|---|---|
| RGB | rgb(204, 162, 17) | |
| RGB percent | rgb(80%, 63.5%, 6.7%) | |
| HSL | hsl(47, 85%, 43%) | |
| HSV / HSB | hsv(47, 92%, 80%) | |
| CMYK | cmyk(0%, 21%, 92%, 20%) | |
| CIE LAB | lab(68.55, 3.67, 69.64) | |
| CIE LCH | lch(68.55, 69.73, 86.98) | |
| CIE XYZ | xyz(37.926, 38.721, 6.007) | |
| Decimal | 13410833 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CCA211, 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 #CCA211 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.74:1 | Pass | Pass | Pass |
| Sample text | 2.4:1 | Fail | Fail | Fail |
| #CCA211 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.74:1 | Pass | Pass | 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 #CCA211 looks to people with the most common types of color vision deficiency.
#b7a000Protanopia
no red cones#c1ac1fDeuteranopia
no green cones#de938aTritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #cca211; }
.text { color: #cca211; }
.border { border: 2px solid #cca211; }
.transparent { background-color: rgb(204 162 17 / 50%); }
.gradient { background: linear-gradient(to right, #cca211, #99cc11); }
Similar colors
#c69f26Mustard Seed#c19a13Rapeseed#ccaa00Hot Sand#daa520Goldenrod#ddaa11Honeycomb#cb9e34Local Curry#d5a129Mustard Musketeers#dead11Deadly Mustard
Questions
- What color is #CCA211?
- #CCA211 is a vivid yellow, closest to the named color Mustard Seed. It belongs to the yellow family of colors.
- What is the RGB value of #CCA211?
- The RGB value is 204, 162, 17: 204 red, 162 green and 17 blue on a 0 to 255 scale.
- What is the complementary color of #CCA211?
- The complementary color is #113BCC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CCA211?
- Black text. Black text has a contrast ratio of 8.74:1 and white text 2.4:1. WCAG asks for at least 4.5:1 for normal text.