#e2df3c
a balanced, vivid yellow · warm · closest name: Yellow
At a glance
Every number on this page in one read: what #e2df3c 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 | #e2df3c |
| RGB | rgb(226, 223, 60) |
| HSL | hsl(59, 74%, 56%) |
| CMYK | cmyk(0%, 1%, 74%, 11%) |
| LAB | lab(86.6 -16.9 74.7) |
| LCH | lch(86.6 76.6 102.8) |
| OKLCH | oklch(0.879 0.173 108.4) |
| Decimal | 14868284 |
| Display P3 | color(display-p3 0.886 0.875 0.235) |
Copy-ready code
/* CSS */
color: #e2df3c;
background-color: #e2df3c;
/* Tailwind (arbitrary) */
class="text-[#e2df3c] bg-[#e2df3c]"
/* SCSS */
$brand: #e2df3c;
/* SwiftUI */
Color(red: 0.886, green: 0.875, blue: 0.235)
/* Android */
Color.parseColor("#e2df3c")
/* Flutter */
Color(0xFFE2DF3C)
/* Python / OpenCV (BGR) */
(60, 223, 226)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. #e2df3c 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: #FCFCF3;
--brand-100: #F9F8E7;
--brand-200: #F3F3C8;
--brand-300: #F0EF9D;
--brand-400: #E9E76C;
--brand-500: #e2df3c;
--brand-600: #D5D220;
--brand-700: #B2AF1A;
--brand-800: #8E8C15;
--brand-900: #676513;
--brand-950: #403F0C;
--brand: #e2df3c;
--brand-ink: #000000;
}Colors that work with #e2df3c
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 #e2df3c
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 | #3C3FE2 | Directly opposite — maximum tension | |
| Analogous left | #E28C3C | Neighbour, quieter | |
| Analogous right | #92E23C | Neighbour, quieter | |
| Split-complement 1 | #3C92E2 | Contrast without the clash | |
| Split-complement 2 | #8C3CE2 | Contrast without the clash | |
| Triadic 1 | #3CE2DF | Even thirds — balanced and loud | |
| Triadic 2 | #DF3CE2 | Even thirds — balanced and loud | |
| Tetradic | #3CE28C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#e2df3c text on a black background
contrast 14.85:1
#e2df3c text on a white background
contrast 1.41:1
CSS3 live lab
The quick brown fox
color: #e2df3c;
background-color: #e2df3c;
Glowing headline
text-shadow: 2px 2px 8px #e2df3c;
Soft neon halo
text-shadow: 0 0 14px rgba(226, 223, 60, 0.45);
box-shadow: 0 12px 32px -8px rgba(226, 223, 60, 0.45);
border: 3px solid #e2df3c; background: linear-gradient(135deg, #e2df3c, #76E23C);
Monochromatic scale
Palettes built from #e2df3c
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 3.2 away, with its history, psychology and brand usage.
#e2df3c 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.
#e2df3c, answered
What color is #e2df3c?
#e2df3c is a balanced vivid yellow, closest to Yellow (ΔE2000 7.7). It sits at 59° on the hue wheel with 74% saturation and 56% lightness, which reads as warm.
What is the RGB value of #e2df3c?
rgb(226, 223, 60) — 226 red, 223 green and 60 blue out of 255, or 88.6% / 87.5% / 23.5% by channel.
Is #e2df3c a light or a dark color?
It is a light color. Relative luminance is 0.6927 and perceived brightness is 83%, so black text on it reaches 14.85:1.
Should I use black or white text on #e2df3c?
Black. It scores 14.85:1 against #e2df3c, versus 1.41:1 for white — AAA at any size.
What is the complementary color of #e2df3c?
#3C3FE2 sits directly opposite on the wheel. Softer options are the split-complements #3C92E2 and #8C3CE2, which give the same contrast with far less vibration.
What colors go well with #e2df3c?
For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #3867E6 as an accent and #6F6D11 for hover and pressed states. For a palette, the analogous pair #E28C3C and #92E23C stays calm, while #3C3FE2 is the loudest partner.
What is #e2df3c in CMYK for printing?
cmyk(0%, 1%, 74%, 11%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #e2df3c warm or cool?
Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E2A93C; nudged cooler, #A9E43A.