Straw (#E4D96F)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 1.45:1 — vs black: 14.45:1

Color values

  • HEX #E4D96F
  • RGB rgb(228, 217, 111)
  • HSL hsl(54, 68%, 66%)
  • CMYK cmyk( 0, 5, 51, 11 )
  • Websafe #CCCC66

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #E4D96F based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Straw
#E4D96F Base
#6F7AE4
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Straw
#E4D96F Base
#E49F6F
#B4E46F
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Straw
#E4D96F Base
#6FE4D9
#D96FE4
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Straw
#E4D96F Base
#6FB4E4
#9F6FE4
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Straw
#E4D96F Base
#6FE49F
#6F7AE4
#E46FB4
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Straw
#E4D96F Base
#9D911D
#D8C82F
#DED04D
#EAE291
#F0EAAF
#FBF9EA
Shades & Tints

Darker shades and lighter tints of Straw, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#151404
#4A450E
#7F7518
#B4A622
#DACB3A
Straw #E4D96F Base
#E9DF88
#EDE6A0
#F2ECB9
#F6F3D1
#FBF9EA
CSS & SCSS Snippets

Ready-to-use code snippets for #E4D96F. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #E4D96F;
}

/* Text */
.element {
    color: #E4D96F;
}

/* Border */
.element {
    border: 1px solid #E4D96F;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #E4D96F,
        #6F7AE4
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #E4D96F,
        #6F7AE4
    );
}
SCSS Variable
// SCSS variable
$straw: #E4D96F;

// With RGB channels (useful for rgba() usage)
$straw-r: 228;
$straw-g: 217;
$straw-b: 111;

// Usage
.element {
    background-color: $straw;
    color: rgba($straw-r, $straw-g, $straw-b, 0.8);
}
Color Blindness Simulation

How Straw appears to people with different types of color vision deficiency.

Normal Vision #E4D96F How the color appears with full color vision.
Deuteranopia #DCDC6E Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #DADA6F Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #EDCFCF Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #D6D6D6 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Straw ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Straw #E4D96F Base
Arylide Yellow #E9D66B ΔE 2.20
Flax #EEDC82 ΔE 3.24
Buff #F0DC82 ΔE 3.64
Light Khaki #F0E68C ΔE 3.90

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.