#dfce2f
a balanced, vivid yellow · warm · closest name: Gold
At a glance
Every number on this page in one read: what #dfce2f 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 | #dfce2f |
| RGB | rgb(223, 206, 47) |
| HSL | hsl(54, 73%, 53%) |
| CMYK | cmyk(0%, 8%, 79%, 13%) |
| LAB | lab(81.9 -10.2 74.2) |
| LCH | lch(81.9 74.9 97.8) |
| OKLCH | oklch(0.840 0.165 102.9) |
| Decimal | 14667311 |
| Display P3 | color(display-p3 0.875 0.808 0.184) |
Copy-ready code
/* CSS */
color: #dfce2f;
background-color: #dfce2f;
/* Tailwind (arbitrary) */
class="text-[#dfce2f] bg-[#dfce2f]"
/* SCSS */
$brand: #dfce2f;
/* SwiftUI */
Color(red: 0.875, green: 0.808, blue: 0.184)
/* Android */
Color.parseColor("#dfce2f")
/* Flutter */
Color(0xFFDFCE2F)
/* Python / OpenCV (BGR) */
(47, 206, 223)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. #dfce2f 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: #FCFBF3;
--brand-100: #F8F7E7;
--brand-200: #F3EFC8;
--brand-300: #F0E89E;
--brand-400: #E9DD6D;
--brand-500: #dfce2f;
--brand-600: #D4C321;
--brand-700: #B1A21B;
--brand-800: #8D8216;
--brand-900: #665E14;
--brand-950: #403B0C;
--brand: #dfce2f;
--brand-ink: #000000;
}Colors that work with #dfce2f
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 #dfce2f
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 | #2F40DF | Directly opposite — maximum tension | |
| Analogous left | #DF762F | Neighbour, quieter | |
| Analogous right | #98DF2F | Neighbour, quieter | |
| Split-complement 1 | #2F98DF | Contrast without the clash | |
| Split-complement 2 | #762FDF | Contrast without the clash | |
| Triadic 1 | #2FDFCE | Even thirds — balanced and loud | |
| Triadic 2 | #CE2FDF | Even thirds — balanced and loud | |
| Tetradic | #2FDF76 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#dfce2f text on a black background
contrast 13.01:1
#dfce2f text on a white background
contrast 1.61:1
CSS3 live lab
The quick brown fox
color: #dfce2f;
background-color: #dfce2f;
Glowing headline
text-shadow: 2px 2px 8px #dfce2f;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 206, 47, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 206, 47, 0.45);
border: 3px solid #dfce2f; background: linear-gradient(135deg, #dfce2f, #7BDF2F);
Monochromatic scale
Palettes built from #dfce2f
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 4.5 away, with its history, psychology and brand usage.
#dfce2f 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.
#dfce2f, answered
What color is #dfce2f?
#dfce2f is a balanced vivid yellow, closest to Gold (ΔE2000 6.7). It sits at 54° on the hue wheel with 73% saturation and 53% lightness, which reads as warm.
What is the RGB value of #dfce2f?
rgb(223, 206, 47) — 223 red, 206 green and 47 blue out of 255, or 87.5% / 80.8% / 18.4% by channel.
Is #dfce2f a light or a dark color?
It is a light color. Relative luminance is 0.6004 and perceived brightness is 78%, so black text on it reaches 13.01:1.
Should I use black or white text on #dfce2f?
Black. It scores 13.01:1 against #dfce2f, versus 1.61:1 for white — AAA at any size.
What is the complementary color of #dfce2f?
#2F40DF sits directly opposite on the wheel. Softer options are the split-complements #2F98DF and #762FDF, which give the same contrast with far less vibration.
What colors go well with #dfce2f?
For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #2A6AE4 as an accent and #6E6511 for hover and pressed states. For a palette, the analogous pair #DF762F and #98DF2F stays calm, while #2F40DF is the loudest partner.
What is #dfce2f in CMYK for printing?
cmyk(0%, 8%, 79%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #dfce2f warm or cool?
Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF9E2F; nudged cooler, #B0E12C.