hexcolors

#CCC266

Closest named color: darkkhaki

About this color

#CCC266 is a light yellow color. In RGB it is 204, 194, 102, and its closest named color is darkkhaki. Text in black is easiest to read on it, with a contrast ratio of 11.48:1.

What does yellow mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #CCC266?

Contrast against white and black text.

Aa Sample
1.83:1 with white text
Fails WCAG contrast
Aa Sample
11.48:1 with black text
Passes AAA for all text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #CCC266

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with darkkhaki

How it looks with color blindness

Simulated for common types.

Normal
#CCC266
Protanopia
#D0BD5E
Deuteranopia
#D4C26A
Tritanopia
#D9B7AD

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #ccc266;
background-color: #ccc266;
--brand: #ccc266;
$brand: #ccc266;
bg-[#ccc266] text-[#ccc266] border-[#ccc266]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #CCC266?

#CCC266 is rgb(204, 194, 102).

What is the closest named color to #CCC266?

The closest CSS named color is darkkhaki (#BDB76B).

What color goes well with #CCC266?

Its complementary color is #6670CC. Analogous colors at #CC8F66 and #A3CC66 also work well.

Should I use white or black text on #CCC266?

Black text is easier to read, with a contrast ratio of 11.48:1.

Use this color anywhere

Data, embeds and tools.

Get #CCC266 as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color