Color #ECF97B Color / Colour Code #ECF97B

    This page shows the hex color code for color #ecf97b (#ECF97B). The colour is a yellow tone with 91% saturation and 73% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #ECF97B

    Color Conversions

    HEX
    #ECF97B
    RGB
    rgb(236, 249, 123)
    HSL
    hsl(66, 91%, 73%)
    HSV
    hsv(66, 51%, 98%)
    CMYK
    cmyk(5%, 0%, 51%, 2%)

    Accessibility Contrast

    WCAG contrast ratios for #ECF97B against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    1.14:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    18.40:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.02:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #ECF97B paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 36, 66, and 96 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 66, 186, and 306 degrees.

    Color Palettes Using #ECF97B

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 66 and saturation at 91%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #424903 #849207 #DCF40B #EAF86D #F5FCB6
    Warm Harmony

    Adjacent hues from 66 to 111 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.

    #D6E830 #A8E830 #7AE830 #4CE830
    Cool Contrast

    Combines the base color at hue 66 with its complement at 246 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #C7D926 #3826D9 #9126D9 #D926C7
    Pastel Variation

    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.

    #DCE0B8 #B8E0BC #B8DCE0 #BCB8E0 #E0B8DC

    Shades & Tints of #ECF97B

    Lightness variations at hue 66 and 91% saturation.

    CSS Gradients with #ECF97B

    Yellow to Blue
    linear-gradient(135deg, #ecf97b, #887bf9)
    Analogous Fade
    linear-gradient(90deg, #ecf97b, #aef97b)
    Deep to Light
    linear-gradient(180deg, #4f5804, #f3fba7)
    Tricolor Sweep
    linear-gradient(135deg, #ecf97b, #7becf9, #f97bec)

    Design Use Cases for #ECF97B

    High-Impact Accent

    With 91% saturation, #ECF97B 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.

    Light Background Tint

    #ECF97B at 73% 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

    #ECF97B is in the yellow spectrum (hue 66). 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 #ECF97B (hue 66) to its complement at hue 246. For a subtler effect, try pairing with an analogous color at hue 96. Use CSS: background: linear-gradient(135deg, #ecf97b, #887bf9);

    CSS Code for #ECF97B

    /* Background */
    background-color: #ecf97b;
    background-color: rgb(236, 249, 123);
    background-color: hsl(66, 91%, 73%);
    /* Text */
    color: #ecf97b;
    /* Border */
    border: 2px solid #ecf97b;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(236, 249, 123, 0.3);
    /* CSS Variable */
    --color-primary: 66 91% 73%;

    Similar Colors

    Colors visually similar to #ECF97B based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #ECF97B across image editing and color design tools.

    About Color #ECF97B (#ECF97B)

    #ECF97B is a yellow color (colour) with RGB channel values of 236 red, 249 green, and 123 blue. The green channel is dominant by a ratio of 2.0:1 over the weakest channel. In HSL terms, the hue sits at 66 degrees with 91% saturation and 73% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #ECF97B is 231/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, 51% yellow, and 2% key (black).

    The WCAG contrast ratio of #ECF97B against white is 1.14:1 and against black is 18.40:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 18.40:1, or use it exclusively for decorative purposes.

    The complementary colour #887BF9 creates maximum visual tension when paired with #ECF97B. For more harmonious color combinations, use the analogous colours #F9C77B and #AEF97B, 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 #ECF97B

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    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 #ECF97B?
    #ECF97B is Color #ECF97B, a yellow color (colour) with RGB(236, 249, 123), HSL(66, 91%, 73%), and CMYK(5%, 0%, 51%, 2%). Its perceived brightness is 231/255.
    Is #ECF97B accessible for text?
    Against white, #ECF97B has a contrast ratio of 1.14:1 (fails AA for normal text). Against black, it has 18.40:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #ECF97B?
    The complementary colour is #887BF9 (hue 246). For subtle color combinations, use analogous colours #F9C77B and #AEF97B. The triadic palette adds #7BECF9 and #F97BEC for vibrant variety.
    How do I use #ECF97B in CSS?
    Use any format: color: #ecf97b; or rgb(236, 249, 123); or hsl(66, 91%, 73%). For CSS custom properties: --color-primary: 66 91% 73%; 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.