Color #AFA46A Color / Colour Code #AFA46A

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

    #AFA46A

    Color Conversions

    HEX
    #AFA46A
    RGB
    rgb(175, 164, 106)
    HSL
    hsl(50, 30%, 55%)
    HSV
    hsv(50, 39%, 69%)
    CMYK
    cmyk(0%, 6%, 39%, 31%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA46A against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.52:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    8.34:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    2.17:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 20, 50, and 80 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 50, 170, and 290 degrees.

    Color Palettes Using #AFA46A

    Monochromatic Scale

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

    #322E1B #635C36 #A69959 #C9C29C #E4E0CD
    Warm Harmony

    Adjacent hues from 50 to 95 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.

    #AFA36A #A9AF6A #98AF6A #87AF6A
    Cool Contrast

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

    #A69959 #5966A6 #7359A6 #9959A6
    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.

    #E0DAB8 #BEE0B8 #B8E0DA #B8BEE0 #DAB8E0

    Shades & Tints of #AFA46A

    Lightness variations at hue 50 and 30% saturation.

    CSS Gradients with #AFA46A

    Yellow to Blue
    linear-gradient(135deg, #afa46a, #6a75af)
    Analogous Fade
    linear-gradient(90deg, #afa46a, #98af6a)
    Deep to Light
    linear-gradient(180deg, #3c3720, #dfdac3)
    Tricolor Sweep
    linear-gradient(135deg, #afa36a, #6aafa3, #a36aaf)

    Design Use Cases for #AFA46A

    Balanced UI Color

    At 30% saturation, #AFA46A 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.

    Soft Accent & Highlight

    With 55% lightness, #AFA46A 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

    #AFA46A is in the yellow spectrum (hue 50). 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 #AFA46A (hue 50) to its complement at hue 230. For a subtler effect, try pairing with an analogous color at hue 80. Use CSS: background: linear-gradient(135deg, #afa46a, #6a75af);

    CSS Code for #AFA46A

    /* Background */
    background-color: #afa46a;
    background-color: rgb(175, 164, 106);
    background-color: hsl(50, 30%, 55%);
    /* Text */
    color: #afa46a;
    /* Border */
    border: 2px solid #afa46a;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 164, 106, 0.3);
    /* CSS Variable */
    --color-primary: 50 30% 55%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFA46A across image editing and color design tools.

    About Color #AFA46A (#AFA46A)

    #AFA46A is a yellow color (colour) with RGB channel values of 175 red, 164 green, and 106 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 50 degrees with 30% saturation and 55% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #AFA46A is 161/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, 6% magenta, 39% yellow, and 31% key (black).

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

    The complementary colour #6A75AF creates maximum visual tension when paired with #AFA46A. For more harmonious color combinations, use the analogous colours #AF816A and #98AF6A, 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 #AFA46A

    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 #AFA46A?
    #AFA46A is Color #AFA46A, a yellow color (colour) with RGB(175, 164, 106), HSL(50, 30%, 55%), and CMYK(0%, 6%, 39%, 31%). Its perceived brightness is 161/255.
    Is #AFA46A accessible for text?
    Against white, #AFA46A has a contrast ratio of 2.52:1 (fails AA for normal text). Against black, it has 8.34:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA46A?
    The complementary colour is #6A75AF (hue 230). For subtle color combinations, use analogous colours #AF816A and #98AF6A. The triadic palette adds #6AAFA3 and #A36AAF for vibrant variety.
    How do I use #AFA46A in CSS?
    Use any format: color: #afa46a; or rgb(175, 164, 106); or hsl(50, 30%, 55%). For CSS custom properties: --color-primary: 50 30% 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.