Warm Golden Sunshine Yellow Category: Yellow

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.

Quick Answer (Sun Yellow Color Code): The exact HEX code for Sun Yellow is #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).
Click to Copy HEX
Sun Yellow
#FFDE38
HEX
#FFDE38
RGB
rgb(255, 222, 56)
HSL
hsl(50deg, 100%, 61%)
CMYK (Print)
cmyk(0%, 13%, 78%, 0%)
Apple Display P3
color(display-p3 1.000 0.871 0.220)

WCAG 2.1 Accessibility & Contrast Rating

White Text (#FFFFFF) 1.33:1 (Fail)
Black Text (#000000) 15.76:1 (AAA)

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:

50
#FFFDF3
100
#FFFADF
200
#FFF4BF
300
#FFEE98
400
#FFE668
500
#FFDE38
600
#CCB22D
700
#998522
800
#665916
900
#38310C
950
#1F1B07

Color Harmonies & Palette Schemes

Complementary

#3859FF
Opposite 180° Contrast

Analogous -30°

#FF7A38
Natural Harmony

Analogous +30°

#BDFF38
Natural Harmony

Triadic +120°

#38FFDE
120° Balanced Triad

Triadic +240°

#DE38FF
120° Balanced Triad

Curated UI Design Pairings for Sun Yellow

Use for primary call-to-action badges, promotional star ratings, and energetic creative studio banners.

Midnight Navy
#0F172A
Dramatic Editorial Contrast
Pale Slate
#D9E2EC
Subtle Card Divider
Warm Sand
#E5D3B3
Mediterranean Accent
Pure White
#FFFFFF
Clean Light Accent

Export Sun Yellow Code Snippets

CSS Variable --color-sun-yellow-color: #FFDE38;
Tailwind Config 'sun-yellow-color': '#FFDE38'
Swift / SwiftUI Color(hex: "#FFDE38")
JSON Design Token {"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.

Named Color Dictionary Interactive Color Wheel Tint & Shade Generator