#cdce87
a light, soft yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #cdce87 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 | #cdce87 |
| RGB | rgb(205, 206, 135) |
| HSL | hsl(61, 42%, 67%) |
| CMYK | cmyk(1%, 0%, 35%, 19%) |
| LAB | lab(81.2 -11.1 35.3) |
| LCH | lch(81.2 37.0 107.5) |
| OKLCH | oklch(0.834 0.092 108.9) |
| Decimal | 13487751 |
| Display P3 | color(display-p3 0.804 0.808 0.529) |
Copy-ready code
/* CSS */
color: #cdce87;
background-color: #cdce87;
/* Tailwind (arbitrary) */
class="text-[#cdce87] bg-[#cdce87]"
/* SCSS */
$brand: #cdce87;
/* SwiftUI */
Color(red: 0.804, green: 0.808, blue: 0.529)
/* Android */
Color.parseColor("#cdce87")
/* Flutter */
Color(0xFFCDCE87)
/* Python / OpenCV (BGR) */
(135, 206, 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. #cdce87 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: #FAFAF5;
--brand-100: #F5F5EB;
--brand-200: #EAEAD2;
--brand-300: #DEDEAF;
--brand-400: #cdce87;
--brand-500: #BDBE60;
--brand-600: #ACAE47;
--brand-700: #90913B;
--brand-800: #73742F;
--brand-900: #545526;
--brand-950: #353517;
--brand: #cdce87;
--brand-ink: #000000;
}Colors that work with #cdce87
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 #cdce87
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠White text placed on it
- ⚠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 | #8887CE | Directly opposite — maximum tension | |
| Analogous left | #CEAC87 | Neighbour, quieter | |
| Analogous right | #AACE87 | Neighbour, quieter | |
| Split-complement 1 | #87AACE | Contrast without the clash | |
| Split-complement 2 | #AC87CE | Contrast without the clash | |
| Triadic 1 | #87CDCE | Even thirds — balanced and loud | |
| Triadic 2 | #CE87CD | Even thirds — balanced and loud | |
| Tetradic | #87CEAC | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cdce87 text on a black background
contrast 12.77:1
#cdce87 text on a white background
contrast 1.64:1
CSS3 live lab
The quick brown fox
color: #cdce87;
background-color: #cdce87;
Glowing headline
text-shadow: 2px 2px 8px #cdce87;
Soft neon halo
text-shadow: 0 0 14px rgba(205, 206, 135, 0.45);
box-shadow: 0 12px 32px -8px rgba(205, 206, 135, 0.45);
border: 3px solid #cdce87; background: linear-gradient(135deg, #cdce87, #9ECE87);
Monochromatic scale
Palettes built from #cdce87
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 9.2 away, with its history, psychology and brand usage.
#cdce87 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.
#cdce87, answered
What color is #cdce87?
#cdce87 is a light soft yellow, closest to Dark Khaki (ΔE2000 6.1). It sits at 61° on the hue wheel with 42% saturation and 67% lightness, which reads as warm.
What is the RGB value of #cdce87?
rgb(205, 206, 135) — 205 red, 206 green and 135 blue out of 255, or 80.4% / 80.8% / 52.9% by channel.
Is #cdce87 a light or a dark color?
It is a light color. Relative luminance is 0.5887 and perceived brightness is 78%, so black text on it reaches 12.77:1.
Should I use black or white text on #cdce87?
Black. It scores 12.77:1 against #cdce87, versus 1.64:1 for white — AAA at any size.
What is the complementary color of #cdce87?
#8887CE sits directly opposite on the wheel. Softer options are the split-complements #87AACE and #AC87CE, which give the same contrast with far less vibration.
What colors go well with #cdce87?
For interface work: #FAFAF4 as the surface, #E7E7C5 for borders, #9A9B4B for secondary text, #374D95 as an accent and #5A5B25 for hover and pressed states. For a palette, the analogous pair #CEAC87 and #AACE87 stays calm, while #8887CE is the loudest partner.
What is #cdce87 in CMYK for printing?
cmyk(1%, 0%, 35%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cdce87 warm or cool?
Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CEB587; nudged cooler, #B4D085.