#CCCC7A color

#CCCC7A rgb(204, 204, 122)
Shades of yellow

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
RGBrgb(204, 204, 122)
RGB percentrgb(80%, 80%, 47.8%)
HSLhsl(60, 45%, 64%)
HSV / HSBhsv(60, 40%, 80%)
CMYKcmyk(0%, 0%, 40%, 20%)
CIE LABlab(80.42, -11.96, 40.81)
CIE LCHlch(80.42, 42.53, 106.33)
CIE XYZxyz(50.008, 57.429, 26.859)
Decimal13421690
Short hexNone (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 #CCCC7ARatioAAAAAAA large
Sample text12.49:1PassPassPass
Sample text1.68:1FailFailFail
#CCCC7A as text onRatioAAAAAAA large
Sample text1.68:1FailFailFail
Sample text12.49:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.