Tints & Shades
50
100
200
300
400
500
600
700
800
900
Scale from white (50) through Straw (500) to black (900), interpolated in Lab color space.
Color Values
- HEX
- #E4D96F
- RGB
- rgb(228, 217, 111)
- HSL
- hsl(54, 68%, 66%)
- OKLCH
- oklch(0.873 0.128 103)
- CMYK
- cmyk(0%, 5%, 51%, 11%)
--color-strawbg-[#E4D96F]Accessibility
Score: 48/100On White (#FFF)
1.45:1
On Black (#000)
14.45:1
On Light Gray (#F5F5F5)
1.33:1
Best text color on this background:
Design Applications
background-color: #E4D96F
color: #E4D96F
bg-[#E4D96F] text-[#000000]
border-left: 4px solid #E4D96F
Color Harmonies
Complementary
Phthalo Blue
#000F89
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 Straw 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
Straw is a light color. Use black (#000000) text on top of it for maximum readability (14.45:1). Avoid white text on this background.
CSS & Code Examples
Background
background-color: #E4D96F;Text
color: #E4D96F;Border
border: 2px solid #E4D96F;Box Shadow
box-shadow: 0 4px 20px #E4D96F40;Gradient
background: linear-gradient(135deg, #E4D96F, #ffffa0);Tailwind-style
--color-straw: #E4D96F;Tailwind CSS Utilities
Use arbitrary value syntax in Tailwind CSS to apply Straw without a custom config.
Background
bg-[#E4D96F]Text
text-[#E4D96F]Border
border-[#E4D96F]Ring
ring-[#E4D96F]Fill
fill-[#E4D96F]From (gradient)
from-[#E4D96F]Via (gradient)
via-[#E4D96F]To (gradient)
to-[#E4D96F]Design Tokens
Ready-to-use Straw design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.
CSS Custom Properties
:root {
--color-straw: #E4D96F;
--color-straw-rgb: 228, 217, 111;
--color-straw-hsl: 54, 68%, 66%;
}SCSS Variables
$color-straw: #E4D96F; $color-straw-rgb: 228, 217, 111; $color-straw-hsl: 54, 68%, 66%;
Tailwind v3 Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'straw': '#E4D96F',
},
},
},
};Tailwind v4 (@theme)
/* tailwind.css */
@theme {
--color-straw: #E4D96F;
}JSON Design Token (W3C format)
{
"straw": {
"value": "#E4D96F",
"type": "color",
"description": "Straw — #E4D96F"
}
}More yellow colors
View all →What Does Straw Mean? Color Psychology & Cultural Symbolism
Yellow sits at the apex of human visual sensitivity—the wavelength the eye is most efficient at detecting in daylight. Straw (#E4D96F) occupies this zone with a mid-tone quality that reads as intellect: a color perceived as much as experienced.
- 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.
- Straw's mid-tone lightness (66%) 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 68% saturation, Straw reads as moderately saturated—neither overwhelming nor passive, landing in the optimism, clarity, intellect, and caution zone with measured confidence.
Straw is the color of first impressions—it arrives before everything else and sets the energy level for what follows.
How to Use Straw in Design: Applications, Pairings & Best Practices
Straw requires careful deployment in design—its high luminosity makes it nearly impossible to use as text on white backgrounds, but as an accent, background, or highlight it has no equal for drawing the eye.
- UI components: warning states, highlights, feature callouts—Straw performs reliably in all these roles with its mid-tone tonal character.
- Brand & identity: highlights, callout banners, brand accents—contexts where Straw's moderately saturated quality creates the right register.
- Typography: Straw as text requires a dark background; its 66% lightness means it provides 1.4:1 contrast on white, not meeting WCAG AA.
- Straw creates strong legibility with black text overlays (14.4:1 contrast ratio), making it a reliable background or surface color in design systems
- Proportional use: Straw's moderately saturated saturation (68%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
Straw is the color of first impressions—it arrives before everything else and sets the energy level for what follows.
Straw Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design
Straw (#E4D96F) achieves a 14.45: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: 67.3%.
- As text on white (#FFFFFF): 1.45:1 — Fail
- As text on black (#000000): 14.45:1 — AAA ✓
- Best text color on Straw background: Black (#000000) at 14.45:1
- WCAG 2.1 luminance: 67.3% — above-median luminance—it reads as a light to mid-tone background, compatible with dark text while retaining color personality
- Straw 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.
Always verify Straw at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.
Straw in Industry: Branding, Design & Market Applications
Across industry research, yellow-family tones consistently outperform competitors in categories built on optimism, clarity, intellect, and caution. Straw is a mid-tone 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: Chipotle, Sweetgreen, 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: Chegg, Khan Academy, Coursera) 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: Straw 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, Straw works effectively in caution signage, pricing emphasis, sticky notes/productivity—contexts where energy serves a secondary but reinforcing role.
Straw 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 Straw? ▾
- The hex code for Straw is #E4D96F. Its RGB values are rgb(228, 217, 111) and its HSL values are hsl(54, 68%, 66%).
- What does Straw 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 Straw WCAG accessible? ▾
- Straw (#E4D96F) does not pass WCAG AA on white (1.45:1 ratio). Use it on dark backgrounds where it achieves 14.45:1. Its overall accessibility score is 48/100.
- What colors go well with Straw? ▾
- Straw pairs well with its complementary color Phthalo Blue (#000F89). Analogous colors like Safety Orange and Old Lace also work harmoniously. Check the Color Harmonies section above for the full palette.
- What is Straw used for? ▾
- Straw 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 Straw? ▾
- In CSS, use `color: #E4D96F` or `background-color: #E4D96F`. The CSS custom property is `--color-straw: #E4D96F`. In Tailwind CSS, use the arbitrary value class `bg-[#E4D96F]` for backgrounds or `text-[#E4D96F]` for text.