Haystack color: hex code #CFAC47
Haystack has the hex code #CFAC47. It is a moderate orange.
In the RGB color model it is made of 81.2% red, 67.5% green and 27.8% blue (207, 172, 71).
Its hue angle is 45°, with 59% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 66% yellow and 19% black.
Black text is the more readable choice on this background (contrast 9.65:1).
Haystack (#CFAC47) color codes
| HEX | #CFAC47 | |
|---|---|---|
| RGB | rgb(207, 172, 71) | |
| RGB percent | rgb(81.2%, 67.5%, 27.8%) | |
| HSL | hsl(45, 59%, 55%) | |
| HSV / HSB | hsv(45, 66%, 81%) | |
| CMYK | cmyk(0%, 17%, 66%, 19%) | |
| CIE LAB | lab(71.71, 1.64, 55.04) | |
| CIE LCH | lch(71.71, 55.06, 88.29) | |
| CIE XYZ | xyz(41.624, 43.228, 12.111) | |
| Decimal | 13610055 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Haystack, 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 #CFAC47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.65:1 | Pass | Pass | Pass |
| Sample text | 2.18:1 | Fail | Fail | Fail |
| #CFAC47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.65: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 #CFAC47 looks to people with the most common types of color vision deficiency.
#beaa3bProtanopia
no red cones#c7b44cDeuteranopia
no green cones#df9f97Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #cfac47; }
.text { color: #cfac47; }
.border { border: 2px solid #cfac47; }
.transparent { background-color: rgb(207 172 71 / 50%); }
.gradient { background: linear-gradient(to right, #cfac47, #aecf47); }
Similar colors
#d2ab51Solar Relic#d4af37Metallic Gold#d4b75dLuxurious#ccad60Desert#d6b63dOldies but Goldies#d6b956Gold Vein#c6aa2bHippie Trail#c5a049Goldbricker
See #CFAC47 on its hex code page
Questions
- What color is #CFAC47?
- #CFAC47 is a moderate orange known as Haystack. It belongs to the yellow family of colors.
- What is the RGB value of Haystack?
- The RGB value is 207, 172, 71: 207 red, 172 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of Haystack?
- The complementary color is #476ACF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CFAC47?
- Black text. Black text has a contrast ratio of 9.65:1 and white text 2.18:1. WCAG asks for at least 4.5:1 for normal text.