#dcccab
a light, soft yellow · warm · closest name: Wheat
At a glance
Every number on this page in one read: what #dcccab 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 | #dcccab |
| RGB | rgb(220, 204, 171) |
| HSL | hsl(40, 41%, 77%) |
| CMYK | cmyk(0%, 7%, 22%, 14%) |
| LAB | lab(82.6 0.4 18.5) |
| LCH | lch(82.6 18.5 88.9) |
| OKLCH | oklch(0.850 0.048 85.2) |
| Decimal | 14470315 |
| Display P3 | color(display-p3 0.863 0.800 0.671) |
Copy-ready code
/* CSS */
color: #dcccab;
background-color: #dcccab;
/* Tailwind (arbitrary) */
class="text-[#dcccab] bg-[#dcccab]"
/* SCSS */
$brand: #dcccab;
/* SwiftUI */
Color(red: 0.863, green: 0.800, blue: 0.671)
/* Android */
Color.parseColor("#dcccab")
/* Flutter */
Color(0xFFDCCCAB)
/* Python / OpenCV (BGR) */
(171, 204, 220)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. #dcccab is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FAF8F5;
--brand-100: #F5F1EB;
--brand-200: #EAE2D2;
--brand-300: #dcccab;
--brand-400: #CEB788;
--brand-500: #BD9F61;
--brand-600: #AD8C48;
--brand-700: #90753C;
--brand-800: #735D30;
--brand-900: #544526;
--brand-950: #352B18;
--brand: #dcccab;
--brand-ink: #000000;
}Colors that work with #dcccab
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 #dcccab
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 | #ABBBDC | Directly opposite — maximum tension | |
| Analogous left | #DCB4AB | Neighbour, quieter | |
| Analogous right | #D4DCAB | Neighbour, quieter | |
| Split-complement 1 | #ABD4DC | Contrast without the clash | |
| Split-complement 2 | #B4ABDC | Contrast without the clash | |
| Triadic 1 | #ABDCCC | Even thirds — balanced and loud | |
| Triadic 2 | #CCABDC | Even thirds — balanced and loud | |
| Tetradic | #ABDCB4 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#dcccab text on a black background
contrast 13.27:1
#dcccab text on a white background
contrast 1.58:1
CSS3 live lab
The quick brown fox
color: #dcccab;
background-color: #dcccab;
Glowing headline
text-shadow: 2px 2px 8px #dcccab;
Soft neon halo
text-shadow: 0 0 14px rgba(220, 204, 171, 0.45);
box-shadow: 0 12px 32px -8px rgba(220, 204, 171, 0.45);
border: 3px solid #dcccab; background: linear-gradient(135deg, #dcccab, #CBDCAB);
Monochromatic scale
Palettes built from #dcccab
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: Wheat (#f5deb3) — ΔE2000 5.4 away, with its history, psychology and brand usage.
#dcccab 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.
#dcccab, answered
What color is #dcccab?
#dcccab is a light soft yellow, closest to Wheat (ΔE2000 5.4). It sits at 40° on the hue wheel with 41% saturation and 77% lightness, which reads as warm.
What is the RGB value of #dcccab?
rgb(220, 204, 171) — 220 red, 204 green and 171 blue out of 255, or 86.3% / 80% / 67.1% by channel.
Is #dcccab a light or a dark color?
It is a light color. Relative luminance is 0.6134 and perceived brightness is 81%, so black text on it reaches 13.27:1.
Should I use black or white text on #dcccab?
Black. It scores 13.27:1 against #dcccab, versus 1.58:1 for white — AAA at any size.
What is the complementary color of #dcccab?
#ABBBDC sits directly opposite on the wheel. Softer options are the split-complements #ABD4DC and #B4ABDC, which give the same contrast with far less vibration.
What colors go well with #dcccab?
For interface work: #FAF8F4 as the surface, #E7DCC5 for borders, #9B814B for secondary text, #396E93 as an accent and #5A4925 for hover and pressed states. For a palette, the analogous pair #DCB4AB and #D4DCAB stays calm, while #ABBBDC is the loudest partner.
What is #dcccab in CMYK for printing?
cmyk(0%, 7%, 22%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #dcccab warm or cool?
Warm — it scores 9 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DCC2AB; nudged cooler, #DBDDAA.