#ecfd05
a balanced, electric yellow · warm · closest name: Yellow
At a glance
Every number on this page in one read: what #ecfd05 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 | #ecfd05 |
| RGB | rgb(236, 253, 5) |
| HSL | hsl(64, 98%, 51%) |
| CMYK | cmyk(7%, 0%, 98%, 1%) |
| LAB | lab(95.2 -28.3 92.1) |
| LCH | lch(95.2 96.3 107.1) |
| OKLCH | oklch(0.949 0.214 114.6) |
| Decimal | 15531269 |
| Display P3 | color(display-p3 0.925 0.992 0.020) |
Copy-ready code
/* CSS */
color: #ecfd05;
background-color: #ecfd05;
/* Tailwind (arbitrary) */
class="text-[#ecfd05] bg-[#ecfd05]"
/* SCSS */
$brand: #ecfd05;
/* SwiftUI */
Color(red: 0.925, green: 0.992, blue: 0.020)
/* Android */
Color.parseColor("#ecfd05")
/* Flutter */
Color(0xFFECFD05)
/* Python / OpenCV (BGR) */
(5, 253, 236)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. #ecfd05 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDFEF1;
--brand-100: #FAFCE3;
--brand-200: #F7FBC1;
--brand-300: #F7FE90;
--brand-400: #F2FE58;
--brand-500: #EEFD20;
--brand-600: #ecfd05;
--brand-700: #BDCA02;
--brand-800: #97A201;
--brand-900: #6D7506;
--brand-950: #444904;
--brand: #ecfd05;
--brand-ink: #000000;
}Colors that work with #ecfd05
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 #ecfd05
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 | #1605FD | Directly opposite — maximum tension | |
| Analogous left | #FD9205 | Neighbour, quieter | |
| Analogous right | #70FD05 | Neighbour, quieter | |
| Split-complement 1 | #0570FD | Contrast without the clash | |
| Split-complement 2 | #9205FD | Contrast without the clash | |
| Triadic 1 | #05ECFD | Even thirds — balanced and loud | |
| Triadic 2 | #FD05EC | Even thirds — balanced and loud | |
| Tetradic | #05FD92 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ecfd05 text on a black background
contrast 18.62:1
#ecfd05 text on a white background
contrast 1.13:1
CSS3 live lab
The quick brown fox
color: #ecfd05;
background-color: #ecfd05;
Glowing headline
text-shadow: 2px 2px 8px #ecfd05;
Soft neon halo
text-shadow: 0 0 14px rgba(236, 253, 5, 0.45);
box-shadow: 0 12px 32px -8px rgba(236, 253, 5, 0.45);
border: 3px solid #ecfd05; background: linear-gradient(135deg, #ecfd05, #47FD05);
Monochromatic scale
Palettes built from #ecfd05
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 3.5 away, with its history, psychology and brand usage.
#ecfd05 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.
#ecfd05, answered
What color is #ecfd05?
#ecfd05 is a balanced electric yellow, closest to Yellow (ΔE2000 3.5). It sits at 64° on the hue wheel with 98% saturation and 51% lightness, which reads as warm.
What is the RGB value of #ecfd05?
rgb(236, 253, 5) — 236 red, 253 green and 5 blue out of 255, or 92.5% / 99.2% / 2% by channel.
Is #ecfd05 a light or a dark color?
It is a light color. Relative luminance is 0.8809 and perceived brightness is 91%, so black text on it reaches 18.62:1.
Should I use black or white text on #ecfd05?
Black. It scores 18.62:1 against #ecfd05, versus 1.13:1 for white — AAA at any size.
What is the complementary color of #ecfd05?
#1605FD sits directly opposite on the wheel. Softer options are the split-complements #0570FD and #9205FD, which give the same contrast with far less vibration.
What colors go well with #ecfd05?
For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #959B4B for secondary text, #0331FF as an accent and #767E01 for hover and pressed states. For a palette, the analogous pair #FD9205 and #70FD05 stays calm, while #1605FD is the loudest partner.
What is #ecfd05 in CMYK for printing?
cmyk(7%, 0%, 98%, 1%). 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 #ecfd05 warm or cool?
Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FDBF05; nudged cooler, #91FF03.