Color #ABA522 Color / Colour Code #ABA522

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

    #ABA522

    Color Conversions

    HEX
    #ABA522
    RGB
    rgb(171, 165, 34)
    HSL
    hsl(57, 67%, 40%)
    HSV
    hsv(57, 80%, 67%)
    CMYK
    cmyk(0%, 4%, 80%, 33%)

    Accessibility Contrast

    WCAG contrast ratios for #ABA522 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.58:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    8.14:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    2.22:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 27, 57, and 87 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 57, 177, and 297 degrees.

    Color Palettes Using #ABA522

    Monochromatic Scale

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

    #403D0D #807B19 #D5CC2A #E6E17F #F2F0BF
    Warm Harmony

    Adjacent hues from 57 to 102 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.

    #D9D13F #BAD93F #94D93F #6DD93F
    Cool Contrast

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

    #D5CC2A #2A33D5 #772AD5 #CC2AD5
    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.

    #E0DEB8 #BAE0B8 #B8E0DE #B8BAE0 #DEB8E0

    Shades & Tints of #ABA522

    Lightness variations at hue 57 and 67% saturation.

    CSS Gradients with #ABA522

    Yellow to Blue
    linear-gradient(135deg, #aba522, #2228aa)
    Analogous Fade
    linear-gradient(90deg, #aba522, #6daa22)
    Deep to Light
    linear-gradient(180deg, #4d4a0f, #f0edb2)
    Tricolor Sweep
    linear-gradient(135deg, #aaa422, #22aaa4, #a422aa)

    Design Use Cases for #ABA522

    Vibrant Brand Color

    #ABA522 has a strong 67% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Primary Interface Color

    At 40% lightness, #ABA522 is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Attention & Optimism

    #ABA522 is in the yellow spectrum (hue 57). 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 #ABA522 (hue 57) to its complement at hue 237. For a subtler effect, try pairing with an analogous color at hue 87. Use CSS: background: linear-gradient(135deg, #aba522, #2228aa);

    CSS Code for #ABA522

    /* Background */
    background-color: #aba522;
    background-color: rgb(171, 165, 34);
    background-color: hsl(57, 67%, 40%);
    /* Text */
    color: #aba522;
    /* Border */
    border: 2px solid #aba522;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(171, 165, 34, 0.3);
    /* CSS Variable */
    --color-primary: 57 67% 40%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #ABA522 across image editing and color design tools.

    About Color #ABA522 (#ABA522)

    #ABA522 is a yellow color (colour) with RGB channel values of 171 red, 165 green, and 34 blue. The red channel is dominant by a ratio of 5.0:1 over the weakest channel. In HSL terms, the hue sits at 57 degrees with 67% saturation and 40% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #ABA522 is 152/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 0% cyan, 4% magenta, 80% yellow, and 33% key (black).

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

    The complementary colour #2228AA creates maximum visual tension when paired with #ABA522. For more harmonious color combinations, use the analogous colours #AA5F22 and #6DAA22, 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 #ABA522

    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 #ABA522?
    #ABA522 is Color #ABA522, a yellow color (colour) with RGB(171, 165, 34), HSL(57, 67%, 40%), and CMYK(0%, 4%, 80%, 33%). Its perceived brightness is 152/255.
    Is #ABA522 accessible for text?
    Against white, #ABA522 has a contrast ratio of 2.58:1 (fails AA for normal text). Against black, it has 8.14:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #ABA522?
    The complementary colour is #2228AA (hue 237). For subtle color combinations, use analogous colours #AA5F22 and #6DAA22. The triadic palette adds #22AAA4 and #A422AA for vibrant variety.
    How do I use #ABA522 in CSS?
    Use any format: color: #aba522; or rgb(171, 165, 34); or hsl(57, 67%, 40%). For CSS custom properties: --color-primary: 57 67% 40%; 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.