#ddf334
a balanced, electric yellow · warm · closest name: Yellow
At a glance
Every number on this page in one read: what #ddf334 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 | #ddf334 |
| RGB | rgb(221, 243, 52) |
| HSL | hsl(67, 89%, 58%) |
| CMYK | cmyk(9%, 0%, 79%, 5%) |
| LAB | lab(91.6 -28.9 81.4) |
| LCH | lch(91.6 86.3 109.5) |
| OKLCH | oklch(0.917 0.198 116.4) |
| Decimal | 14545716 |
| Display P3 | color(display-p3 0.867 0.953 0.204) |
Copy-ready code
/* CSS */
color: #ddf334;
background-color: #ddf334;
/* Tailwind (arbitrary) */
class="text-[#ddf334] bg-[#ddf334]"
/* SCSS */
$brand: #ddf334;
/* SwiftUI */
Color(red: 0.867, green: 0.953, blue: 0.204)
/* Android */
Color.parseColor("#ddf334")
/* Flutter */
Color(0xFFDDF334)
/* Python / OpenCV (BGR) */
(52, 243, 221)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. #ddf334 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: #FCFDF2;
--brand-100: #F8FBE5;
--brand-200: #F2F8C4;
--brand-300: #EDF995;
--brand-400: #E4F660;
--brand-500: #ddf334;
--brand-600: #CEE70E;
--brand-700: #ACC10B;
--brand-800: #899A09;
--brand-900: #646F0B;
--brand-950: #3E4507;
--brand: #ddf334;
--brand-ink: #000000;
}Colors that work with #ddf334
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 #ddf334
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 | #4A34F3 | Directly opposite — maximum tension | |
| Analogous left | #F3A934 | Neighbour, quieter | |
| Analogous right | #7DF334 | Neighbour, quieter | |
| Split-complement 1 | #347DF3 | Contrast without the clash | |
| Split-complement 2 | #A934F3 | Contrast without the clash | |
| Triadic 1 | #34DDF3 | Even thirds — balanced and loud | |
| Triadic 2 | #F334DD | Even thirds — balanced and loud | |
| Tetradic | #34F3A9 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ddf334 text on a black background
contrast 16.94:1
#ddf334 text on a white background
contrast 1.24:1
CSS3 live lab
The quick brown fox
color: #ddf334;
background-color: #ddf334;
Glowing headline
text-shadow: 2px 2px 8px #ddf334;
Soft neon halo
text-shadow: 0 0 14px rgba(221, 243, 52, 0.45);
box-shadow: 0 12px 32px -8px rgba(221, 243, 52, 0.45);
border: 3px solid #ddf334; background: linear-gradient(135deg, #ddf334, #5EF334);
Monochromatic scale
Palettes built from #ddf334
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: Yellow (#ffff00) — ΔE2000 6.4 away, with its history, psychology and brand usage.
#ddf334 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#ddf334, answered
What color is #ddf334?
#ddf334 is a balanced electric yellow, closest to Yellow (ΔE2000 6.4). It sits at 67° on the hue wheel with 89% saturation and 58% lightness, which reads as warm.
What is the RGB value of #ddf334?
rgb(221, 243, 52) — 221 red, 243 green and 52 blue out of 255, or 86.7% / 95.3% / 20.4% by channel.
Is #ddf334 a light or a dark color?
It is a light color. Relative luminance is 0.7972 and perceived brightness is 87%, so black text on it reaches 16.94:1.
Should I use black or white text on #ddf334?
Black. It scores 16.94:1 against #ddf334, versus 1.24:1 for white — AAA at any size.
What is the complementary color of #ddf334?
#4A34F3 sits directly opposite on the wheel. Softer options are the split-complements #347DF3 and #A934F3, which give the same contrast with far less vibration.
What colors go well with #ddf334?
For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #929B4B for secondary text, #304AF7 as an accent and #6B7807 for hover and pressed states. For a palette, the analogous pair #F3A934 and #7DF334 stays calm, while #4A34F3 is the loudest partner.
What is #ddf334 in CMYK for printing?
cmyk(9%, 0%, 79%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #ddf334 warm or cool?
Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F3C334; nudged cooler, #97F532.