#cdba72
a balanced, vivid yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #cdba72 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 | #cdba72 |
| RGB | rgb(205, 186, 114) |
| HSL | hsl(48, 48%, 63%) |
| CMYK | cmyk(0%, 9%, 44%, 20%) |
| LAB | lab(75.7 -3.1 38.9) |
| LCH | lch(75.7 39.0 94.6) |
| OKLCH | oklch(0.789 0.095 95.1) |
| Decimal | 13482610 |
| Display P3 | color(display-p3 0.804 0.729 0.447) |
Copy-ready code
/* CSS */
color: #cdba72;
background-color: #cdba72;
/* Tailwind (arbitrary) */
class="text-[#cdba72] bg-[#cdba72]"
/* SCSS */
$brand: #cdba72;
/* SwiftUI */
Color(red: 0.804, green: 0.729, blue: 0.447)
/* Android */
Color.parseColor("#cdba72")
/* Flutter */
Color(0xFFCDBA72)
/* Python / OpenCV (BGR) */
(114, 186, 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. #cdba72 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FAF9F5;
--brand-100: #F5F3EA;
--brand-200: #ECE6D0;
--brand-300: #E2D6AC;
--brand-400: #cdba72;
--brand-500: #C4AE59;
--brand-600: #B59C40;
--brand-700: #978235;
--brand-800: #78682B;
--brand-900: #584D22;
--brand-950: #373015;
--brand: #cdba72;
--brand-ink: #000000;
}Colors that work with #cdba72
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 #cdba72
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 | #7285CD | Directly opposite — maximum tension | |
| Analogous left | #CD8C72 | Neighbour, quieter | |
| Analogous right | #B2CD72 | Neighbour, quieter | |
| Split-complement 1 | #72B2CD | Contrast without the clash | |
| Split-complement 2 | #8C72CD | Contrast without the clash | |
| Triadic 1 | #72CDBA | Even thirds — balanced and loud | |
| Triadic 2 | #BA72CD | Even thirds — balanced and loud | |
| Tetradic | #72CD8C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cdba72 text on a black background
contrast 10.86:1
#cdba72 text on a white background
contrast 1.93:1
CSS3 live lab
The quick brown fox
color: #cdba72;
background-color: #cdba72;
Glowing headline
text-shadow: 2px 2px 8px #cdba72;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 186, 114, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 186, 114, 0.45);
border: 3px solid #cdba72; background: linear-gradient(135deg, #cdba72, #A3CD72);
Monochromatic scale
Palettes built from #cdba72
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: Sand (#c2b280) — ΔE2000 5 away, with its history, psychology and brand usage.
#cdba72 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.
#cdba72, answered
What color is #cdba72?
#cdba72 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 4.3). It sits at 48° on the hue wheel with 48% saturation and 63% lightness, which reads as warm.
What is the RGB value of #cdba72?
rgb(205, 186, 114) — 205 red, 186 green and 114 blue out of 255, or 80.4% / 72.9% / 44.7% by channel.
Is #cdba72 a light or a dark color?
It is a mid-tone. Relative luminance is 0.4931 and perceived brightness is 73%, so black text on it reaches 10.86:1.
Should I use black or white text on #cdba72?
Black. It scores 10.86:1 against #cdba72, versus 1.93:1 for white — AAA at any size.
What is the complementary color of #cdba72?
#7285CD sits directly opposite on the wheel. Softer options are the split-complements #72B2CD and #8C72CD, which give the same contrast with far less vibration.
What colors go well with #cdba72?
For interface work: #FAF9F4 as the surface, #EAE2C3 for borders, #9B8A4B for secondary text, #31619B as an accent and #5E5121 for hover and pressed states. For a palette, the analogous pair #CD8C72 and #B2CD72 stays calm, while #7285CD is the loudest partner.
What is #cdba72 in CMYK for printing?
cmyk(0%, 9%, 44%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cdba72 warm or cool?
Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CDA272; nudged cooler, #C0CF70.