#cccc49
a balanced, vivid yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #cccc49 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cccc49 |
| RGB | rgb(204, 204, 73) |
| HSL | hsl(60, 56%, 54%) |
| CMYK | cmyk(0%, 0%, 64%, 20%) |
| LAB | lab(79.9 -16.0 62.8) |
| LCH | lch(79.9 64.8 104.3) |
| OKLCH | oklch(0.821 0.150 109.3) |
| Decimal | 13421641 |
| Display P3 | color(display-p3 0.800 0.800 0.286) |
Copy-ready code
/* CSS */
color: #cccc49;
background-color: #cccc49;
/* Tailwind (arbitrary) */
class="text-[#cccc49] bg-[#cccc49]"
/* SCSS */
$brand: #cccc49;
/* SwiftUI */
Color(red: 0.800, green: 0.800, blue: 0.286)
/* Android */
Color.parseColor("#cccc49")
/* Flutter */
Color(0xFFCCCC49)
/* Python / OpenCV (BGR) */
(73, 204, 204)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cccc49 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBFBF4;
--brand-100: #F6F6E9;
--brand-200: #EEEECD;
--brand-300: #E6E6A7;
--brand-400: #DADA7C;
--brand-500: #cccc49;
--brand-600: #BFBF36;
--brand-700: #9F9F2D;
--brand-800: #7F7F24;
--brand-900: #5D5D1E;
--brand-950: #3A3A12;
--brand: #cccc49;
--brand-ink: #000000;
}Colors that work with #cccc49
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cccc49
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #4949CC | Directly opposite — maximum tension | |
| Analogous left | #CC8A49 | Neighbour, quieter | |
| Analogous right | #8ACC49 | Neighbour, quieter | |
| Split-complement 1 | #498ACC | Contrast without the clash | |
| Split-complement 2 | #8A49CC | Contrast without the clash | |
| Triadic 1 | #49CCCC | Even thirds — balanced and loud | |
| Triadic 2 | #CC49CC | Even thirds — balanced and loud | |
| Tetradic | #49CC8A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cccc49 text on a black background
contrast 12.30:1
#cccc49 text on a white background
contrast 1.71:1
CSS3 live lab
The quick brown fox
color: #cccc49;
background-color: #cccc49;
Glowing headline
text-shadow: 2px 2px 8px #cccc49;
Soft neon halo
text-shadow: 0 0 14px rgba(204, 204, 73, 0.45);
box-shadow: 0 12px 32px -8px rgba(204, 204, 73, 0.45);
border: 3px solid #cccc49; background: linear-gradient(135deg, #cccc49, #75CC49);
Monochromatic scale
Palettes built from #cccc49
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Dandelion (#f0e130) — ΔE2000 7.7 away, with its history, psychology and brand usage.
#cccc49 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cccc49, answered
What color is #cccc49?
#cccc49 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 8.7). It sits at 60° on the hue wheel with 56% saturation and 54% lightness, which reads as warm.
What is the RGB value of #cccc49?
rgb(204, 204, 73) — 204 red, 204 green and 73 blue out of 255, or 80% / 80% / 28.6% by channel.
Is #cccc49 a light or a dark color?
It is a light color. Relative luminance is 0.5650 and perceived brightness is 76%, so black text on it reaches 12.30:1.
Should I use black or white text on #cccc49?
Black. It scores 12.30:1 against #cccc49, versus 1.71:1 for white — AAA at any size.
What is the complementary color of #cccc49?
#4949CC sits directly opposite on the wheel. Softer options are the split-complements #498ACC and #8A49CC, which give the same contrast with far less vibration.
What colors go well with #cccc49?
For interface work: #FAFAF4 as the surface, #EDEDC0 for borders, #9B9B4B for secondary text, #4467D1 as an accent and #64641C for hover and pressed states. For a palette, the analogous pair #CC8A49 and #8ACC49 stays calm, while #4949CC is the loudest partner.
What is #cccc49 in CMYK for printing?
cmyk(0%, 0%, 64%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cccc49 warm or cool?
Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CC9C49; nudged cooler, #9DCE47.