#C5AC21 color
The hex color #C5AC21 is a moderate yellow.
In the RGB color model it is made of 77.3% red, 67.5% green and 12.9% blue (197, 172, 33).
Its hue angle is 51°, with 71% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 83% yellow and 23% black.
The closest named color is Hippie Trail (#C6AA2B), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.3:1).
#C5AC21 color codes
| HEX | #C5AC21 | |
|---|---|---|
| RGB | rgb(197, 172, 33) | |
| RGB percent | rgb(77.3%, 67.5%, 12.9%) | |
| HSL | hsl(51, 71%, 45%) | |
| HSV / HSB | hsv(51, 83%, 77%) | |
| CMYK | cmyk(0%, 13%, 83%, 23%) | |
| CIE LAB | lab(70.52, -4.39, 67.39) | |
| CIE LCH | lch(70.52, 67.54, 93.73) | |
| CIE XYZ | xyz(38.055, 41.487, 7.442) | |
| Decimal | 12954657 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C5AC21, 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 #C5AC21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.3:1 | Pass | Pass | Pass |
| Sample text | 2.26:1 | Fail | Fail | Fail |
| #C5AC21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.3: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 #C5AC21 looks to people with the most common types of color vision deficiency.
#bea800Protanopia
no red cones#c5b02dDeuteranopia
no green cones#d59e93Tritanopia
no blue cones#acacacAchromatopsia
no color vision
CSS examples
.background { background-color: #c5ac21; }
.text { color: #c5ac21; }
.border { border: 2px solid #c5ac21; }
.transparent { background-color: rgb(197 172 33 / 50%); }
.gradient { background: linear-gradient(to right, #c5ac21, #8cc521); }
Similar colors
#c6aa2bHippie Trail#cab012Sulphur#bda928Greenfinch#bfac05Muddy Yellow#bea932Hey Pesto#ccaa00Hot Sand#cfb53bOld Gold#c1b23ePesto
Closest common color name: Metallic Gold.
Questions
- What color is #C5AC21?
- #C5AC21 is a moderate yellow, closest to the named color Hippie Trail. It belongs to the yellow family of colors.
- What is the RGB value of #C5AC21?
- The RGB value is 197, 172, 33: 197 red, 172 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #C5AC21?
- The complementary color is #213AC5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C5AC21?
- Black text. Black text has a contrast ratio of 9.3:1 and white text 2.26:1. WCAG asks for at least 4.5:1 for normal text.