#CCCC7A color
The hex color #CCCC7A is a light, desaturated yellow.
In the RGB color model it is made of 80% red, 80% green and 47.8% blue (204, 204, 122).
Its hue angle is 60°, with 45% saturation and 64% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 40% yellow and 20% black.
The closest named color is Sunken Treasure (#CCCF86), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 12.49:1).
#CCCC7A color codes
| HEX | #CCCC7A | |
|---|---|---|
| RGB | rgb(204, 204, 122) | |
| RGB percent | rgb(80%, 80%, 47.8%) | |
| HSL | hsl(60, 45%, 64%) | |
| HSV / HSB | hsv(60, 40%, 80%) | |
| CMYK | cmyk(0%, 0%, 40%, 20%) | |
| CIE LAB | lab(80.42, -11.96, 40.81) | |
| CIE LCH | lch(80.42, 42.53, 106.33) | |
| CIE XYZ | xyz(50.008, 57.429, 26.859) | |
| Decimal | 13421690 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #CCCC7A, 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 #CCCC7A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.49:1 | Pass | Pass | Pass |
| Sample text | 1.68:1 | Fail | Fail | Fail |
| #CCCC7A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.49: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 #CCCC7A looks to people with the most common types of color vision deficiency.
#d8c674Protanopia
no red cones#d9c97eDeuteranopia
no green cones#d7c3b8Tritanopia
no blue cones#c7c7c7Achromatopsia
no color vision
CSS examples
.background { background-color: #cccc7a; }
.text { color: #cccc7a; }
.border { border: 2px solid #cccc7a; }
.transparent { background-color: rgb(204 204 122 / 50%); }
.gradient { background: linear-gradient(to right, #cccc7a, #a3cc7a); }
Similar colors
#cccf86Sunken Treasure#c8d07fZucchini Noodles#cad175Fool’s Gold#c3c67eSoda Pop#d0c678Muted Lime#c5d17bAlligator Alley#dbd186Treasury#d5ce69Force of Nature
Closest common color name: Dark Khaki.
Questions
- What color is #CCCC7A?
- #CCCC7A is a light, desaturated yellow, closest to the named color Sunken Treasure. It belongs to the yellow family of colors.
- What is the RGB value of #CCCC7A?
- The RGB value is 204, 204, 122: 204 red, 204 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #CCCC7A?
- The complementary color is #7A7ACC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #CCCC7A?
- Black text. Black text has a contrast ratio of 12.49:1 and white text 1.68:1. WCAG asks for at least 4.5:1 for normal text.