Tints & Shades
50
100
200
300
400
500
600
700
800
900
Scale from white (50) through Mellow Yellow (500) to black (900), interpolated in Lab color space.
Color Values
- HEX
- #F8DE7E
- RGB
- rgb(248, 222, 126)
- HSL
- hsl(47, 90%, 73%)
- OKLCH
- oklch(0.902 0.12 95)
- CMYK
- cmyk(0%, 10%, 49%, 3%)
--color-mellow-yellowbg-[#F8DE7E]Accessibility
Score: 48/100On White (#FFF)
1.33:1
On Black (#000)
15.74:1
On Light Gray (#F5F5F5)
1.22:1
Best text color on this background:
Design Applications
background-color: #F8DE7E
color: #F8DE7E
bg-[#F8DE7E] text-[#000000]
border-left: 4px solid #F8DE7E
Color Harmonies
Complementary
Ultramarine
#4166F5
Split-Complementary
Similar Colors
Color Meaning & Psychology
Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. Its lighter value makes it approachable and soft — suitable for backgrounds, secondary UI states, and contexts requiring the hue's character without full intensity.
Industry Usage
Common contexts and industries where Mellow Yellow is applied in professional design.
- Taxi and transportation services
- Construction and heavy machinery
- Children's education products and toys
- Fast food and energy-focused brands
- Caution and safety signage
- Summer and outdoor lifestyle brands
- Optimistic lifestyle and wellness brands
- Creative agencies emphasizing ideas
Accessibility Considerations
Normal Text
Fails AA
4.5:1 minimum required
Large Text
Fails AA Large
3:1 minimum required
UI Components
Check contrast
3:1 for non-text UI
Mellow Yellow is a light color. Use black (#000000) text on top of it for maximum readability (15.74:1). Avoid white text on this background.
CSS & Code Examples
Background
background-color: #F8DE7E;Text
color: #F8DE7E;Border
border: 2px solid #F8DE7E;Box Shadow
box-shadow: 0 4px 20px #F8DE7E40;Gradient
background: linear-gradient(135deg, #F8DE7E, #ffffaf);Tailwind-style
--color-mellow-yellow: #F8DE7E;Tailwind CSS Utilities
Use arbitrary value syntax in Tailwind CSS to apply Mellow Yellow without a custom config.
Background
bg-[#F8DE7E]Text
text-[#F8DE7E]Border
border-[#F8DE7E]Ring
ring-[#F8DE7E]Fill
fill-[#F8DE7E]From (gradient)
from-[#F8DE7E]Via (gradient)
via-[#F8DE7E]To (gradient)
to-[#F8DE7E]Design Tokens
Ready-to-use Mellow Yellow design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.
CSS Custom Properties
:root {
--color-mellow-yellow: #F8DE7E;
--color-mellow-yellow-rgb: 248, 222, 126;
--color-mellow-yellow-hsl: 47, 90%, 73%;
}SCSS Variables
$color-mellow-yellow: #F8DE7E; $color-mellow-yellow-rgb: 248, 222, 126; $color-mellow-yellow-hsl: 47, 90%, 73%;
Tailwind v3 Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'mellow-yellow': '#F8DE7E',
},
},
},
};Tailwind v4 (@theme)
/* tailwind.css */
@theme {
--color-mellow-yellow: #F8DE7E;
}JSON Design Token (W3C format)
{
"mellow-yellow": {
"value": "#F8DE7E",
"type": "color",
"description": "Mellow Yellow — #F8DE7E"
}
}More yellow colors
View all →What Does Mellow Yellow Mean? Color Psychology & Cultural Symbolism
Mellow Yellow at #F8DE7E is a light interpretation of one of the spectrum's most semantically rich hues. Yellow sits at the junction of optimism and caution in human psychology—and this particular shade resolves that tension in favor of brightness.
- Yellow occupies a paradoxical space in Western symbolism—simultaneously the color of happiness, optimism, and cowardice. In commercial contexts it signals caution (traffic lights, hazard tape) and sale promotions. In consumer branding it communicates cheerfulness and energy.
- In Chinese and many other East Asian cultures, yellow (and especially gold-yellow) historically signified royalty, prosperity, and imperial authority. In Buddhist traditions it represents wisdom and harmony.
- Mellow Yellow's light lightness (73%) shifts its psychological register: Pale yellow and champagne tones feel warm, neutral, and almost white—excellent for backgrounds, subtle warmth in neutral palettes, and understated accents.
- At 90% saturation, Mellow Yellow reads as vivid—Pure vivid yellow is the highest-chroma color the human eye perceives—it cannot be ignored and is physiologically stimulating, even more so than red in some attention research.
The power of Mellow Yellow lies in selective deployment—too much and it fatigues, too little and the energy dissipates. Find the balance.
How to Use Mellow Yellow in Design: Applications, Pairings & Best Practices
The accessibility challenge with yellow is real—most yellow tones fail WCAG contrast requirements on white—but Mellow Yellow's value as a highlight, background, and accent color is unmatched in creating optimistic, high-energy palettes.
- UI components: warning states, highlights, feature callouts—Mellow Yellow performs reliably in all these roles with its light tonal character.
- Brand & identity: highlights, callout banners, brand accents—contexts where Mellow Yellow's vivid quality creates the right register.
- Typography: Mellow Yellow as text requires a dark background; its 73% lightness means it provides 1.3:1 contrast on white, not meeting WCAG AA.
- Mellow Yellow creates strong legibility with black text overlays (15.7:1 contrast ratio), making it a reliable background or surface color in design systems
- Proportional use: Mellow Yellow's vivid saturation (90%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
The power of Mellow Yellow lies in selective deployment—too much and it fatigues, too little and the energy dissipates. Find the balance.
Mellow Yellow Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design
Mellow Yellow (#F8DE7E) achieves a 15.74:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 73.7%.
- As text on white (#FFFFFF): 1.33:1 — Fail
- As text on black (#000000): 15.74:1 — AAA ✓
- Best text color on Mellow Yellow background: Black (#000000) at 15.74:1
- WCAG 2.1 luminance: 73.7% — high-luminance (near-white)—it provides excellent readability for dark text overlays and integrates naturally into light design systems
- Mellow Yellow qualifies for all text sizes including small body copy (AAA).
- Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.
Mellow Yellow's WCAG profile makes it a compliant choice for most text applications.
Mellow Yellow in Industry: Branding, Design & Market Applications
Across industry research, yellow-family tones consistently outperform competitors in categories built on optimism, clarity, intellect, and caution. Mellow Yellow is a light expression of this advantage—best positioned in Food & Beverage and adjacent markets.
- Food & Beverage: Yellow stimulates appetite and communicates freshness, especially for bakery, dairy, and snack categories. Its association with sunlight and ripe crops makes it an instinctive choice for natural and wholesome food brands. (examples: Whole Foods, Trader Joe's, Blue Bottle Coffee) Extremely effective for children's food products; less effective for premium dining where it reads as casual.
- Education & Children's Products: Yellow is cognitively stimulating and signals playfulness, making it a dominant choice in educational materials, children's toys, and learning apps. It creates an environment of curiosity and creative energy. (examples: Duolingo, Coursera, Khan Academy) Combine with blue for a classic educational palette that suggests both warmth and reliability.
- Safety & Construction: Yellow is the universal signal for visibility and caution. High-visibility vests, construction equipment, and warning signage use yellow because it provides maximum contrast in low-light conditions and stands out in natural environments. This safety connotation can be leveraged in UX for warning states and "proceed with awareness" signals.
- Brand positioning: Mellow Yellow is best suited for brands projecting approachability, energy, clarity. Categories outside this positioning—body text on white (extremely poor contrast)—tend to see weaker results.
- Adjacent applications: Beyond primary industries, Mellow Yellow works effectively in caution signage, pricing emphasis, sticky notes/productivity—contexts where optimism serves a secondary but reinforcing role.
Mellow Yellow earns its strongest ROI in industries where trust and recognition compound over time: Food & Beverage, Education & Children's Products, Safety & Construction. Use it to build the kind of brand recognition that decades reinforce.
Accessibility & Design Guides
Frequently Asked Questions
- What is the hex code for Mellow Yellow? ▾
- The hex code for Mellow Yellow is #F8DE7E. Its RGB values are rgb(248, 222, 126) and its HSL values are hsl(47, 90%, 73%).
- What does Mellow Yellow mean in design? ▾
- Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. Its lighter value makes it approachable and soft — suitable for backgrounds, secondary UI states, and contexts requiring the hue's character without full intensity.
- Is Mellow Yellow WCAG accessible? ▾
- Mellow Yellow (#F8DE7E) does not pass WCAG AA on white (1.33:1 ratio). Use it on dark backgrounds where it achieves 15.74:1. Its overall accessibility score is 48/100.
- What colors go well with Mellow Yellow? ▾
- Mellow Yellow pairs well with its complementary color Ultramarine (#4166F5). Analogous colors like Mandarin and Kumquat also work harmoniously. Check the Color Harmonies section above for the full palette.
- What is Mellow Yellow used for? ▾
- Mellow Yellow is commonly used for: Taxi and transportation services; Construction and heavy machinery; Children's education products and toys; Fast food and energy-focused brands; Caution and safety signage.
- What are the CSS and Tailwind values for Mellow Yellow? ▾
- In CSS, use `color: #F8DE7E` or `background-color: #F8DE7E`. The CSS custom property is `--color-mellow-yellow: #F8DE7E`. In Tailwind CSS, use the arbitrary value class `bg-[#F8DE7E]` for backgrounds or `text-[#F8DE7E]` for text.