Color #AFEF2A Color / Colour Code #AFEF2A
This page shows the hex color code for color #afef2a (#AFEF2A). The colour is a green 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 #AFEF2A against common backgrounds.
Complementary Colors
#AFEF2A paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 49, 79, and 109 degrees for harmonious combinations.
Triadic Palette
Three colors at 79, 199, and 319 degrees.
Color Palettes Using #AFEF2A
Five shades at lightness levels 15% through 85% while keeping hue at 79 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 79 to 124 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 79 with its complement at 259 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 #AFEF2A
Lightness variations at hue 79 and 86% saturation.
CSS Gradients with #AFEF2A
Design Use Cases for #AFEF2A
High-Impact Accent
With 86% saturation, #AFEF2A 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, #AFEF2A 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.
Success & Growth Indicators
#AFEF2A falls in the green range (hue 79). Green universally represents success, growth, and safety. Use it for confirmation messages, positive chart data, eco-friendly badges, and health metrics. In financial dashboards, green indicates gains and positive performance.
Gradient Pairing
Create a gradient from #AFEF2A (hue 79) to its complement at hue 259. For a subtler effect, try pairing with an analogous color at hue 109. Use CSS: background: linear-gradient(135deg, #afef2a, #682aef);
CSS Code for #AFEF2A
Similar Colors
Colors visually similar to #AFEF2A based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #AFEF2A across image editing and color design tools.
About Color #AFEF2A (#AFEF2A)
#AFEF2A is a green color (colour) with RGB channel values of 175 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 79 degrees with 86% saturation and 55% lightness, placing it in the neutral-to-cool range of the colour spectrum.
The perceived brightness of #AFEF2A is 197/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 27% cyan, 0% magenta, 82% yellow, and 6% key (black).
The WCAG contrast ratio of #AFEF2A against white is 1.38:1 and against black is 15.20:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 15.20:1, or use it exclusively for decorative purposes.
The complementary colour #682AEF creates maximum visual tension when paired with #AFEF2A. For more harmonious color combinations, use the analogous colours #EFCB2A and #4EEF2A, 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 #AFEF2A
- 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 #AFEF2A?
- #AFEF2A is Color #AFEF2A, a green color (colour) with RGB(175, 239, 42), HSL(79, 86%, 55%), and CMYK(27%, 0%, 82%, 6%). Its perceived brightness is 197/255.
- Is #AFEF2A accessible for text?
- Against white, #AFEF2A has a contrast ratio of 1.38:1 (fails AA for normal text). Against black, it has 15.20:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #AFEF2A?
- The complementary colour is #682AEF (hue 259). For subtle color combinations, use analogous colours #EFCB2A and #4EEF2A. The triadic palette adds #2AB0EF and #EF2AB0 for vibrant variety.
- How do I use #AFEF2A in CSS?
- Use any format: color: #afef2a; or rgb(175, 239, 42); or hsl(79, 86%, 55%). For CSS custom properties: --color-primary: 79 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.