Palettes / Colors / #CCDA74
#CCDA74 — Yellow
#CCDA74 is a yellow color we call Yellow, closest to the named color DarkKhaki (#BDB76B). It belongs to the yellow family.
Color name
Closest CSS keyword: darkkhaki (#BDB76B) — not an exact match. CSS darkkhaki gives you #BDB76B, a different color; use #CCDA74 when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#CCDA74 is a warm yellow color associated with optimism, attention and cheer. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.
Its strongest partner is its complement #8072DA; it also sits naturally between #DAB472 and #98DA72. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #CCDA74 |
|---|---|
| RGB | 204, 218, 116 |
| HSL | 68°, 58%, 65% |
| HSV | 68°, 47%, 85% |
| CMYK | 6%, 0%, 47%, 15% |
| XYZ | 53.13, 64.24, 26.12 |
| Yxy | 64.24, 0.3702, 0.4477 |
| CIE-Lab | 84.09, -19.56, 48.30 |
| Hunter Lab | 80.15, -17.95, 33.67 |
RGB & CMYK percentages
Red 80% · Green 85% · Blue 45%
Cyan 6% · Magenta 0% · Yellow 47% · Key 15%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #CCDA74
.text { color: #CCDA74; }
.background { background-color: #CCDA74; }
.border { border: 3px solid #CCDA74; }
.text-rgb { color: rgb(204, 218, 116); }
.text-hsl { color: hsl(68, 58%, 65%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CCDA74; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 218, 116, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CCDA74; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 218, 116, 0.8); }
HTML: <p style="color:#CCDA74">Text here</p> · <div style="background-color:#CCDA74">Div content here</div>
Shades of #CCDA74
Tints of #CCDA74
Tones of #CCDA74
Color harmonies
Complementary — #8072DA:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 1.52:1 Fails |
|---|---|
| Against black text | 13.85:1 AAA |
Best text color on #CCDA74: #000000.
Semi-transparent (opacity) text on #CCDA74
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #CCDA74: ·
How #CCDA74 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #CCDA74 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #CCDA74?
#CCDA74 is Yellow, a yellow color (RGB 204, 218, 116). Its closest standard named color is DarkKhaki.
What is the RGB and HSL of #CCDA74?
#CCDA74 is RGB 204, 218, 116 — HSL 68°, 58%, 65% — CMYK 6%, 0%, 47%, 15%.
What colors go with #CCDA74?
Its complement is #8072DA; analogous partners are #DAB472 and #98DA72. It also appears in 6+ palettes in our collection.
Can I use #CCDA74 for text?
Black text on #CCDA74 has a contrast ratio of 13.85:1 (passes WCAG AA); white text gives 1.52:1.