#CCB017 color
The hex color #CCB017 is a moderate yellow.
In the RGB color model it is made of 80% red, 69% green and 9% blue (204, 176, 23).
Its hue angle is 51°, with 80% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 89% yellow and 20% black.
The closest named color is Sulphur (#CAB012), a difference of 0.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.79:1).
#CCB017 color codes
| HEX | #CCB017 | |
|---|---|---|
| RGB | rgb(204, 176, 23) | |
| RGB percent | rgb(80%, 69%, 9%) | |
| HSL | hsl(51, 80%, 45%) | |
| HSV / HSB | hsv(51, 89%, 80%) | |
| CMYK | cmyk(0%, 14%, 89%, 20%) | |
| CIE LAB | lab(72.2, -3.65, 71.35) | |
| CIE LCH | lch(72.2, 71.44, 92.93) | |
| CIE XYZ | xyz(40.584, 43.952, 7.156) | |
| Decimal | 13414423 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CCB017, 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 #CCB017 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.79:1 | Pass | Pass | Pass |
| Sample text | 2.15:1 | Fail | Fail | Fail |
| #CCB017 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.79: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 #CCB017 looks to people with the most common types of color vision deficiency.
#c3ac00Protanopia
no red cones#cab526Deuteranopia
no green cones#dda196Tritanopia
no blue cones#b1b1b1Achromatopsia
no color vision
CSS examples
.background { background-color: #ccb017; }
.text { color: #ccb017; }
.border { border: 2px solid #ccb017; }
.transparent { background-color: rgb(204 176 23 / 50%); }
.gradient { background: linear-gradient(to right, #ccb017, #8ecc17); }
Similar colors
#cab012Sulphur#ccaa00Hot Sand#c6aa2bHippie Trail#cfb53bOld Gold#bfac05Muddy Yellow#d5bc26Indian Pale Ale#d6b63dOldies but Goldies#dbb40cGold Tooth
Closest common color name: Metallic Gold.
Questions
- What color is #CCB017?
- #CCB017 is a moderate yellow, closest to the named color Sulphur. It belongs to the yellow family of colors.
- What is the RGB value of #CCB017?
- The RGB value is 204, 176, 23: 204 red, 176 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #CCB017?
- The complementary color is #1733CC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CCB017?
- Black text. Black text has a contrast ratio of 9.79:1 and white text 2.15:1. WCAG asks for at least 4.5:1 for normal text.