Color #E2EF2A Color / Colour Code #E2EF2A
This page shows the hex color code for color #e2ef2a (#E2EF2A). The colour is a yellow tone with 86% saturation and 55% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #E2EF2A against common backgrounds.
Complementary Colors
#E2EF2A paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 34, 64, and 94 degrees for harmonious combinations.
Triadic Palette
Three colors at 64, 184, and 304 degrees.
Color Palettes Using #E2EF2A
Five shades at lightness levels 15% through 85% while keeping hue at 64 and saturation at 86%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 64 to 109 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 64 with its complement at 244 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 #E2EF2A
Lightness variations at hue 64 and 86% saturation.
CSS Gradients with #E2EF2A
Design Use Cases for #E2EF2A
High-Impact Accent
With 86% saturation, #E2EF2A is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.
Soft Accent & Highlight
With 55% lightness, #E2EF2A has a softer, more approachable quality. It works well for hover states, subtle highlights, progress indicators, and secondary UI elements. This lightness range is particularly effective for tag backgrounds and status indicators.
Attention & Optimism
#E2EF2A is in the yellow spectrum (hue 64). 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 #E2EF2A (hue 64) to its complement at hue 244. For a subtler effect, try pairing with an analogous color at hue 94. Use CSS: background: linear-gradient(135deg, #e2ef2a, #372aef);
CSS Code for #E2EF2A
Similar Colors
Colors visually similar to #E2EF2A based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #E2EF2A across image editing and color design tools.
About Color #E2EF2A (#E2EF2A)
#E2EF2A is a yellow color (colour) with RGB channel values of 226 red, 239 green, and 42 blue. The green channel is dominant by a ratio of 5.7:1 over the weakest channel. In HSL terms, the hue sits at 64 degrees with 86% saturation and 55% lightness, placing it in the neutral-to-cool range of the colour spectrum.
The perceived brightness of #E2EF2A is 213/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 5% cyan, 0% magenta, 82% yellow, and 6% key (black).
The WCAG contrast ratio of #E2EF2A against white is 1.26:1 and against black is 16.61:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 16.61:1, or use it exclusively for decorative purposes.
The complementary colour #372AEF creates maximum visual tension when paired with #E2EF2A. For more harmonious color combinations, use the analogous colours #EF992A and #7FEF2A, 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 #E2EF2A
- 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 #E2EF2A?
- #E2EF2A is Color #E2EF2A, a yellow color (colour) with RGB(226, 239, 42), HSL(64, 86%, 55%), and CMYK(5%, 0%, 82%, 6%). Its perceived brightness is 213/255.
- Is #E2EF2A accessible for text?
- Against white, #E2EF2A has a contrast ratio of 1.26:1 (fails AA for normal text). Against black, it has 16.61:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #E2EF2A?
- The complementary colour is #372AEF (hue 244). For subtle color combinations, use analogous colours #EF992A and #7FEF2A. The triadic palette adds #2AE2EF and #EF2AE2 for vibrant variety.
- How do I use #E2EF2A in CSS?
- Use any format: color: #e2ef2a; or rgb(226, 239, 42); or hsl(64, 86%, 55%). For CSS custom properties: --color-primary: 64 86% 55%; 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.