#cdcb65
a balanced, vivid yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #cdcb65 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 | #cdcb65 |
| RGB | rgb(205, 203, 101) |
| HSL | hsl(59, 51%, 60%) |
| CMYK | cmyk(0%, 1%, 51%, 20%) |
| LAB | lab(80.0 -13.1 50.5) |
| LCH | lch(80.0 52.2 104.5) |
| OKLCH | oklch(0.823 0.125 107.8) |
| Decimal | 13486949 |
| Display P3 | color(display-p3 0.804 0.796 0.396) |
Copy-ready code
/* CSS */
color: #cdcb65;
background-color: #cdcb65;
/* Tailwind (arbitrary) */
class="text-[#cdcb65] bg-[#cdcb65]"
/* SCSS */
$brand: #cdcb65;
/* SwiftUI */
Color(red: 0.804, green: 0.796, blue: 0.396)
/* Android */
Color.parseColor("#cdcb65")
/* Flutter */
Color(0xFFCDCB65)
/* Python / OpenCV (BGR) */
(101, 203, 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. #cdcb65 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: #FAFAF4;
--brand-100: #F6F6EA;
--brand-200: #EDECCF;
--brand-300: #E4E2AA;
--brand-400: #D6D480;
--brand-500: #cdcb65;
--brand-600: #B9B63C;
--brand-700: #9A9832;
--brand-800: #7B7A28;
--brand-900: #5A5920;
--brand-950: #383714;
--brand: #cdcb65;
--brand-ink: #000000;
}Colors that work with #cdcb65
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 #cdcb65
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 | #6567CD | Directly opposite — maximum tension | |
| Analogous left | #CD9765 | Neighbour, quieter | |
| Analogous right | #9BCD65 | Neighbour, quieter | |
| Split-complement 1 | #659BCD | Contrast without the clash | |
| Split-complement 2 | #9765CD | Contrast without the clash | |
| Triadic 1 | #65CDCB | Even thirds — balanced and loud | |
| Triadic 2 | #CB65CD | Even thirds — balanced and loud | |
| Tetradic | #65CD97 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cdcb65 text on a black background
contrast 12.33:1
#cdcb65 text on a white background
contrast 1.70:1
CSS3 live lab
The quick brown fox
color: #cdcb65;
background-color: #cdcb65;
Glowing headline
text-shadow: 2px 2px 8px #cdcb65;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 203, 101, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 203, 101, 0.45);
border: 3px solid #cdcb65; background: linear-gradient(135deg, #cdcb65, #8ACD65);
Monochromatic scale
Palettes built from #cdcb65
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 9.8 away, with its history, psychology and brand usage.
#cdcb65 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.
#cdcb65, answered
What color is #cdcb65?
#cdcb65 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.2). It sits at 59° on the hue wheel with 51% saturation and 60% lightness, which reads as warm.
What is the RGB value of #cdcb65?
rgb(205, 203, 101) — 205 red, 203 green and 101 blue out of 255, or 80.4% / 79.6% / 39.6% by channel.
Is #cdcb65 a light or a dark color?
It is a light color. Relative luminance is 0.5663 and perceived brightness is 76%, so black text on it reaches 12.33:1.
Should I use black or white text on #cdcb65?
Black. It scores 12.33:1 against #cdcb65, versus 1.70:1 for white — AAA at any size.
What is the complementary color of #cdcb65?
#6567CD sits directly opposite on the wheel. Softer options are the split-complements #659BCD and #9765CD, which give the same contrast with far less vibration.
What colors go well with #cdcb65?
For interface work: #FAFAF4 as the surface, #EBEAC1 for borders, #9B994B for secondary text, #617FD1 as an accent and #605F1F for hover and pressed states. For a palette, the analogous pair #CD9765 and #9BCD65 stays calm, while #6567CD is the loudest partner.
What is #cdcb65 in CMYK for printing?
cmyk(0%, 1%, 51%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cdcb65 warm or cool?
Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CDA565; nudged cooler, #AACF63.