#eedf21
a balanced, electric yellow · warm · closest name: Gold
At a glance
Every number on this page in one read: what #eedf21 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 | #eedf21 |
| RGB | rgb(238, 223, 33) |
| HSL | hsl(56, 86%, 53%) |
| CMYK | cmyk(0%, 6%, 86%, 7%) |
| LAB | lab(87.5 -12.7 82.9) |
| LCH | lch(87.5 83.8 98.7) |
| OKLCH | oklch(0.888 0.182 104.4) |
| Decimal | 15654689 |
| Display P3 | color(display-p3 0.933 0.875 0.129) |
Copy-ready code
/* CSS */
color: #eedf21;
background-color: #eedf21;
/* Tailwind (arbitrary) */
class="text-[#eedf21] bg-[#eedf21]"
/* SCSS */
$brand: #eedf21;
/* SwiftUI */
Color(red: 0.933, green: 0.875, blue: 0.129)
/* Android */
Color.parseColor("#eedf21")
/* Flutter */
Color(0xFFEEDF21)
/* Python / OpenCV (BGR) */
(33, 223, 238)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. #eedf21 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: #FDFCF2;
--brand-100: #FAF9E5;
--brand-200: #F7F3C5;
--brand-300: #F7F097;
--brand-400: #F3E863;
--brand-500: #eedf21;
--brand-600: #E3D411;
--brand-700: #BEB10E;
--brand-800: #988D0C;
--brand-900: #6E660D;
--brand-950: #444008;
--brand: #eedf21;
--brand-ink: #000000;
}Colors that work with #eedf21
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 #eedf21
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 | #2130EE | Directly opposite — maximum tension | |
| Analogous left | #EE7821 | Neighbour, quieter | |
| Analogous right | #96EE21 | Neighbour, quieter | |
| Split-complement 1 | #2196EE | Contrast without the clash | |
| Split-complement 2 | #7821EE | Contrast without the clash | |
| Triadic 1 | #21EEDF | Even thirds — balanced and loud | |
| Triadic 2 | #DF21EE | Even thirds — balanced and loud | |
| Tetradic | #21EE78 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#eedf21 text on a black background
contrast 15.21:1
#eedf21 text on a white background
contrast 1.38:1
CSS3 live lab
The quick brown fox
color: #eedf21;
background-color: #eedf21;
Glowing headline
text-shadow: 2px 2px 8px #eedf21;
Soft neon halo
text-shadow: 0 0 14px rgba(238, 223, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(238, 223, 33, 0.45);
border: 3px solid #eedf21; background: linear-gradient(135deg, #eedf21, #74EE21);
Monochromatic scale
Palettes built from #eedf21
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 0.8 away, with its history, psychology and brand usage.
#eedf21 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.
#eedf21, answered
What color is #eedf21?
#eedf21 is a balanced electric yellow, closest to Gold (ΔE2000 6.1). It sits at 56° on the hue wheel with 86% saturation and 53% lightness, which reads as warm.
What is the RGB value of #eedf21?
rgb(238, 223, 33) — 238 red, 223 green and 33 blue out of 255, or 93.3% / 87.5% / 12.9% by channel.
Is #eedf21 a light or a dark color?
It is a light color. Relative luminance is 0.7106 and perceived brightness is 84%, so black text on it reaches 15.21:1.
Should I use black or white text on #eedf21?
Black. It scores 15.21:1 against #eedf21, versus 1.38:1 for white — AAA at any size.
What is the complementary color of #eedf21?
#2130EE sits directly opposite on the wheel. Softer options are the split-complements #2196EE and #7821EE, which give the same contrast with far less vibration.
What colors go well with #eedf21?
For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #1C61F3 as an accent and #766E09 for hover and pressed states. For a palette, the analogous pair #EE7821 and #96EE21 stays calm, while #2130EE is the loudest partner.
What is #eedf21 in CMYK for printing?
cmyk(0%, 6%, 86%, 7%). 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 #eedf21 warm or cool?
Warm — it scores 21 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EEA821; nudged cooler, #B3F01E.