#cdac3c
a balanced, vivid yellow · warm · closest name: Goldenrod
At a glance
Every number on this page in one read: what #cdac3c 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 | #cdac3c |
| RGB | rgb(205, 172, 60) |
| HSL | hsl(46, 59%, 52%) |
| CMYK | cmyk(0%, 16%, 71%, 20%) |
| LAB | lab(71.4 0.2 59.3) |
| LCH | lch(71.4 59.3 89.8) |
| OKLCH | oklch(0.754 0.132 92.2) |
| Decimal | 13478972 |
| Display P3 | color(display-p3 0.804 0.675 0.235) |
Copy-ready code
/* CSS */
color: #cdac3c;
background-color: #cdac3c;
/* Tailwind (arbitrary) */
class="text-[#cdac3c] bg-[#cdac3c]"
/* SCSS */
$brand: #cdac3c;
/* SwiftUI */
Color(red: 0.804, green: 0.675, blue: 0.235)
/* Android */
Color.parseColor("#cdac3c")
/* Flutter */
Color(0xFFCDAC3C)
/* Python / OpenCV (BGR) */
(60, 172, 205)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. #cdac3c 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: #FBF9F4;
--brand-100: #F7F4E9;
--brand-200: #EFE7CD;
--brand-300: #E8D9A6;
--brand-400: #DDC679;
--brand-500: #cdac3c;
--brand-600: #C3A232;
--brand-700: #A2872A;
--brand-800: #826C21;
--brand-900: #5F4F1C;
--brand-950: #3B3211;
--brand: #cdac3c;
--brand-ink: #000000;
}Colors that work with #cdac3c
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 #cdac3c
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 | #3C5DCD | Directly opposite — maximum tension | |
| Analogous left | #CD643C | Neighbour, quieter | |
| Analogous right | #A6CD3C | Neighbour, quieter | |
| Split-complement 1 | #3CA6CD | Contrast without the clash | |
| Split-complement 2 | #643CCD | Contrast without the clash | |
| Triadic 1 | #3CCDAC | Even thirds — balanced and loud | |
| Triadic 2 | #AC3CCD | Even thirds — balanced and loud | |
| Tetradic | #3CCD64 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cdac3c text on a black background
contrast 9.56:1
#cdac3c text on a white background
contrast 2.20:1
CSS3 live lab
The quick brown fox
color: #cdac3c;
background-color: #cdac3c;
Glowing headline
text-shadow: 2px 2px 8px #cdac3c;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 172, 60, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 172, 60, 0.45);
border: 3px solid #cdac3c; background: linear-gradient(135deg, #cdac3c, #8ECD3C);
Monochromatic scale
Palettes built from #cdac3c
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: Goldenrod (#daa520) — ΔE2000 5.5 away, with its history, psychology and brand usage.
#cdac3c 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.
#cdac3c, answered
What color is #cdac3c?
#cdac3c is a balanced vivid yellow, closest to Goldenrod (ΔE2000 5.5). It sits at 46° on the hue wheel with 59% saturation and 52% lightness, which reads as warm.
What is the RGB value of #cdac3c?
rgb(205, 172, 60) — 205 red, 172 green and 60 blue out of 255, or 80.4% / 67.5% / 23.5% by channel.
Is #cdac3c a light or a dark color?
It is a mid-tone. Relative luminance is 0.4281 and perceived brightness is 68%, so black text on it reaches 9.56:1.
Should I use black or white text on #cdac3c?
Black. It scores 9.56:1 against #cdac3c, versus 2.20:1 for white — AAA at any size.
What is the complementary color of #cdac3c?
#3C5DCD sits directly opposite on the wheel. Softer options are the split-complements #3CA6CD and #643CCD, which give the same contrast with far less vibration.
What colors go well with #cdac3c?
For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B894B for secondary text, #3781D2 as an accent and #65541A for hover and pressed states. For a palette, the analogous pair #CD643C and #A6CD3C stays calm, while #3C5DCD is the loudest partner.
What is #cdac3c in CMYK for printing?
cmyk(0%, 16%, 71%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cdac3c warm or cool?
Warm — it scores 14 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD8D3C; nudged cooler, #BBD03A.