Color #AFA06A Color / Colour Code #AFA06A

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

    #AFA06A

    Color Conversions

    HEX
    #AFA06A
    RGB
    rgb(175, 160, 106)
    HSL
    hsl(47, 30%, 55%)
    HSV
    hsv(47, 39%, 69%)
    CMYK
    cmyk(0%, 9%, 39%, 31%)

    Accessibility Contrast

    WCAG contrast ratios for #AFA06A against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.61:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    8.06:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    2.25:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 17, 47, and 77 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 47, 167, and 287 degrees.

    Color Palettes Using #AFA06A

    Monochromatic Scale

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

    #322D1B #635A36 #A69559 #C9C09C #E4DFCD
    Warm Harmony

    Adjacent hues from 47 to 92 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.

    #AFA06A #ACAF6A #9BAF6A #8AAF6A
    Cool Contrast

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

    #A69559 #596AA6 #6F59A6 #9559A6
    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.

    #E0D8B8 #C0E0B8 #B8E0D8 #B8C0E0 #D8B8E0

    Shades & Tints of #AFA06A

    Lightness variations at hue 47 and 30% saturation.

    CSS Gradients with #AFA06A

    Yellow to Blue
    linear-gradient(135deg, #afa06a, #6a79af)
    Analogous Fade
    linear-gradient(90deg, #afa06a, #9baf6a)
    Deep to Light
    linear-gradient(180deg, #3c3620, #dfd9c3)
    Tricolor Sweep
    linear-gradient(135deg, #afa06a, #6aafa0, #a06aaf)

    Design Use Cases for #AFA06A

    Balanced UI Color

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

    #AFA06A is in the yellow spectrum (hue 47). 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 #AFA06A (hue 47) to its complement at hue 227. For a subtler effect, try pairing with an analogous color at hue 77. Use CSS: background: linear-gradient(135deg, #afa06a, #6a79af);

    CSS Code for #AFA06A

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

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFA06A across image editing and color design tools.

    About Color #AFA06A (#AFA06A)

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

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

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

    The complementary colour #6A79AF creates maximum visual tension when paired with #AFA06A. For more harmonious color combinations, use the analogous colours #AF7D6A and #9BAF6A, 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 #AFA06A

    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 #AFA06A?
    #AFA06A is Color #AFA06A, a yellow color (colour) with RGB(175, 160, 106), HSL(47, 30%, 55%), and CMYK(0%, 9%, 39%, 31%). Its perceived brightness is 158/255.
    Is #AFA06A accessible for text?
    Against white, #AFA06A has a contrast ratio of 2.61:1 (fails AA for normal text). Against black, it has 8.06:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFA06A?
    The complementary colour is #6A79AF (hue 227). For subtle color combinations, use analogous colours #AF7D6A and #9BAF6A. The triadic palette adds #6AAFA0 and #A06AAF for vibrant variety.
    How do I use #AFA06A in CSS?
    Use any format: color: #afa06a; or rgb(175, 160, 106); or hsl(47, 30%, 55%). For CSS custom properties: --color-primary: 47 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.