Sun Yellow (#FFDE38) — Color Codes, Meaning & UI Palettes
Sun Yellow is an energetic, warm golden yellow with hex code #FFDE38. Emitting genuine solar optimism, it captures immediate viewer attention with high emotional warmth.
#FFDE38. In RGB, it is rgb(255, 222, 56). In HSL, it is hsl(50deg, 100%, 61%), and its print CMYK formulation is cmyk(0%, 13%, 78%, 0%). It has a relative luminance of 0.738 and pairs best in UI design with Midnight Navy (#0F172A) and Pale Slate (#D9E2EC).
WCAG 2.1 Accessibility & Contrast Rating
11-Step Tints & Shades Scale (Tailwind 50–950)
Mathematically balanced luminance scale for design tokens and CSS color palettes. Click any shade to copy hex code:
Color Harmonies & Palette Schemes
Complementary
Analogous -30°
Analogous +30°
Triadic +120°
Triadic +240°
Curated UI Design Pairings for Sun Yellow
Use for primary call-to-action badges, promotional star ratings, and energetic creative studio banners.
Export Sun Yellow Code Snippets
--color-sun-yellow-color: #FFDE38;
'sun-yellow-color': '#FFDE38'
Color(hex: "#FFDE38")
{"name": "Sun Yellow", "hex": "#FFDE38"}
Frequently Asked Questions About Sun Yellow (#FFDE38)
What is the exact HEX code for Sun Yellow?
The exact HEX code for Sun Yellow is #FFDE38. In 8-digit hexadecimal (with 100% opacity), it is #FFDE38FF. Its RGB decimal equivalent is rgb(255, 222, 56) and its HSL value is hsl(50deg, 100%, 61%).
What colors go best with Sun Yellow in UI and web design?
Sun Yellow pairs exceptionally well with Midnight Navy (#0F172A), Pale Slate (#D9E2EC), Warm Sand (#E5D3B3), and Pure White (#FFFFFF).
How do I use Sun Yellow in CSS and Tailwind CSS?
In standard CSS, apply it directly via color: #FFDE38; or background-color: #FFDE38;. In Tailwind CSS, use arbitrary value syntax like bg-[#ffde38] or text-[#ffde38], or define it in your Tailwind v4 @theme block as --color-sun-yellow-color: #FFDE38;.
Is Sun Yellow WCAG accessible for readable text?
Against a pure white background (#FFFFFF), Sun Yellow achieves a contrast ratio of 1.33:1 (Fail). Against a pure black background (#000000), it achieves 15.76:1 (AAA). Check custom contrast pairings on Pikka's WCAG Contrast Checker.
Explore More Colors in the Dictionary
Browse our complete catalog of curated named colors, harmonic palettes, and accessible UI combinations.