Color #E4E2AF Color / Colour Code #E4E2AF
This page shows the hex color code for color #e4e2af (#E4E2AF). The colour is a yellow tone with 50% saturation and 79% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #E4E2AF against common backgrounds.
Complementary Colors
#E4E2AF paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 28, 58, and 88 degrees for harmonious combinations.
Triadic Palette
Three colors at 58, 178, and 298 degrees.
Color Palettes Using #E4E2AF
Five shades at lightness levels 15% through 85% while keeping hue at 58 and saturation at 50%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 58 to 103 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 58 with its complement at 238 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #E4E2AF
Lightness variations at hue 58 and 50% saturation.
CSS Gradients with #E4E2AF
Design Use Cases for #E4E2AF
Balanced UI Color
At 50% saturation, #E4E2AF strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.
Light Background Tint
#E4E2AF at 79% lightness creates a gentle tinted background. Use it for section backgrounds, alert banners, or card surfaces that need to stand out from a white page without strong contrast. It adds color personality while keeping the design light and open.
Attention & Optimism
#E4E2AF is in the yellow spectrum (hue 58). Yellow attracts attention faster than any other color. Use it for warning labels, featured content markers, star ratings, and tooltip backgrounds. Pair with dark text since yellow often fails contrast checks against white.
Gradient Pairing
Create a gradient from #E4E2AF (hue 58) to its complement at hue 238. For a subtler effect, try pairing with an analogous color at hue 88. Use CSS: background: linear-gradient(135deg, #e4e2af, #afb0e4);
CSS Code for #E4E2AF
Similar Colors
Colors visually similar to #E4E2AF based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #E4E2AF across image editing and color design tools.
About Color #E4E2AF (#E4E2AF)
#E4E2AF is a yellow color (colour) with RGB channel values of 228 red, 226 green, and 175 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 58 degrees with 50% saturation and 79% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #E4E2AF is 221/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This means it appears bright to the human eye and is best paired with dark text for readability. For print production, the CMYK equivalent is 0% cyan, 1% magenta, 23% yellow, and 11% key (black).
The WCAG contrast ratio of #E4E2AF against white is 1.33:1 and against black is 15.80:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 15.80:1, or use it exclusively for decorative purposes.
The complementary colour #AFB0E4 creates maximum visual tension when paired with #E4E2AF. For more harmonious color combinations, use the analogous colours #E4C8AF and #CBE4AF, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #E4E2AF
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #E4E2AF?
- #E4E2AF is Color #E4E2AF, a yellow color (colour) with RGB(228, 226, 175), HSL(58, 50%, 79%), and CMYK(0%, 1%, 23%, 11%). Its perceived brightness is 221/255.
- Is #E4E2AF accessible for text?
- Against white, #E4E2AF has a contrast ratio of 1.33:1 (fails AA for normal text). Against black, it has 15.80:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #E4E2AF?
- The complementary colour is #AFB0E4 (hue 238). For subtle color combinations, use analogous colours #E4C8AF and #CBE4AF. The triadic palette adds #AFE4E2 and #E2AFE4 for vibrant variety.
- How do I use #E4E2AF in CSS?
- Use any format: color: #e4e2af; or rgb(228, 226, 175); or hsl(58, 50%, 79%). For CSS custom properties: --color-primary: 58 50% 79%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.