Photo in the color Straw
Pictured: Straw
rgb(228, 217, 111)
#E4D96F

Straw #E4D96F RGB Color Code

Straw (#E4D96F) is a moderately saturated, light yellow. In RGB it is made of 89% red, 85% green and 44% blue (R 228, G 217, B 111). The red channel is the strongest. In HSL it has a hue of 54Β°, 68% saturation and 66% lightness. Its relative luminance is 0.673, so black text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 5% magenta, 51% yellow and 11% black. Check it against your printer's ICC profile before you print. It is a warm color. It goes well with cool blues and greens for contrast. For a matching look, use nearby warm tones.

Open in color picker

Straw color codes

#E4D96F in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #E4D96F Valid CSS
RGB rgb(228, 217, 111) Valid CSS
HSL hsl(54, 68%, 66%) Valid CSS
HSV / HSB hsv(54, 51%, 89%) Not a CSS format
HWB hwb(54 44% 11%) Valid CSS
CMYK cmyk(0%, 5%, 51%, 11%) Approximate (no ICC profile)
OKLCH oklch(87.28% 0.1284 103.36) Valid CSS
OKLab oklab(87.28% -0.0297 0.1249) Valid CSS
CIELAB lab(85.99% -6.15 52.9) D50, as in CSS
CIELCH lch(85.99% 53.25 96.63) Valid CSS
Display P3 color(display-p3 0.8867 0.8525 0.4937) Valid CSS
XYZ (D65) color(xyz-d65 0.5967 0.6727 0.2488) Valid CSS
Decimal 14997871 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.6727. Nearest web-safe color: #CCCC66.

Mix Straw with other colors

See what #E4D96F makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Straw in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--straw: #E4D96F;
Sass variable$straw: #E4D96F;
Tailwind CSS v4@theme { --color-straw: #E4D96F; }
Tailwind CSS v3 configcolors: { 'straw': '#E4D96F' }
SwiftUIColor(red: 0.894, green: 0.851, blue: 0.435)
UIKitUIColor(red: 0.894, green: 0.851, blue: 0.435, alpha: 1)
Android XML<color name="straw">#FFE4D96F</color>
Flutter and Jetpack ComposeColor(0xFFE4D96F)

Accessibility and contrast

Black text works best on #E4D96F (14.45:1, AAA). Here is how #E4D96F does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.45:1 on white
APCA Lc 22
Fails AATry #837800
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
14.45:1 on black
APCA Lc -82
AAA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Straw

#E4D96F next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#E4D96F stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Straw

A color name since 1589

Straw is the pale yellow of dried grain stalks. The first recorded use of straw as a color name in English was in 1589. The code #E4D96F matches the straw in Maerz and Paul's A Dictionary of Color of 1930, plate 10, sample F2, as given in the Wikipedia article on straw.

Straw in nature

Biologists use the word to name animals of this color. Two examples are the straw-headed bulbul and the straw-coloured fruit bat. Latin has its own word for the same color, stramineus, and it is often used to describe things in nature. Doctors also describe healthy blood plasma as straw colored.

Close relatives

Straw is greener and more yellow than wheat, and a little deeper than flax. Its contrast with white is very low, only 1.45:1, so it works best as a background behind dark text. For more options, see the shades of yellow.

Straw in a user interface

A sample app screen with #E4D96F as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #E4D96F as it is. On the light theme, #E4D96F is too hard to read as text (1.45:1), so links, the badge and outline text use #837800 there (4.51:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Straw

These schemes turn the hue of #E4D96F around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90Β° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Straw

Four CSS gradients made from #E4D96F. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #F9F8E4, #E4D96F);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #E4D96F, #3F3B1A);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #E49F6F, #E4D96F, #B5E46F);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #E4D96F, #B2E0AA, #6FE4D9);

Edit in the gradient generator

Shades, tints and tones of Straw

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Straw sits at step 200. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    FCF9D6
  2. 100
    F3EFC2
  3. 200
    E4D96F
  4. 300
    CDC471
  5. 400
    B1A641
  6. 500
    94890A
  7. 600
    786E00
  8. 700
    5F5700
  9. 800
    4A4400
  10. 900
    363100
  11. 950
    211E01

Closest RAL, Tailwind and CSS colors

The nearest match to #E4D96F in three color systems that designers and builders use.

Ξ”E is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (Ξ”E in OKLab). Browse all shades of yellow or search the color library.