Color #AFBA6A Color / Colour Code #AFBA6A

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

    #AFBA6A

    Color Conversions

    HEX
    #AFBA6A
    RGB
    rgb(175, 186, 106)
    HSL
    hsl(68, 37%, 57%)
    HSV
    hsv(68, 43%, 73%)
    CMYK
    cmyk(6%, 0%, 43%, 27%)

    Accessibility Contrast

    WCAG contrast ratios for #AFBA6A against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.09:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    10.05:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.80:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 38, 68, and 98 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 68, 188, and 308 degrees.

    Color Palettes Using #AFBA6A

    Monochromatic Scale

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

    #313418 #616930 #A2AF50 #C7CF96 #E3E7CB
    Warm Harmony

    Adjacent hues from 68 to 113 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.

    #ABB762 #96B762 #81B762 #6CB762
    Cool Contrast

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

    #A2AF50 #5D50AF #8C50AF #AF50A2
    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.

    #DBE0B8 #B8E0BD #B8DBE0 #BDB8E0 #E0B8DB

    Shades & Tints of #AFBA6A

    Lightness variations at hue 68 and 37% saturation.

    CSS Gradients with #AFBA6A

    Yellow to Blue
    linear-gradient(135deg, #afba6a, #7469ba)
    Analogous Fade
    linear-gradient(90deg, #afba6a, #87ba69)
    Deep to Light
    linear-gradient(180deg, #3a3f1d, #dee2c0)
    Tricolor Sweep
    linear-gradient(135deg, #afba69, #69afba, #ba69af)

    Design Use Cases for #AFBA6A

    Balanced UI Color

    At 37% saturation, #AFBA6A 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 57% lightness, #AFBA6A 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

    #AFBA6A is in the yellow spectrum (hue 68). 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 #AFBA6A (hue 68) to its complement at hue 248. For a subtler effect, try pairing with an analogous color at hue 98. Use CSS: background: linear-gradient(135deg, #afba6a, #7469ba);

    CSS Code for #AFBA6A

    /* Background */
    background-color: #afba6a;
    background-color: rgb(175, 186, 106);
    background-color: hsl(68, 37%, 57%);
    /* Text */
    color: #afba6a;
    /* Border */
    border: 2px solid #afba6a;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(175, 186, 106, 0.3);
    /* CSS Variable */
    --color-primary: 68 37% 57%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #AFBA6A across image editing and color design tools.

    About Color #AFBA6A (#AFBA6A)

    #AFBA6A is a yellow color (colour) with RGB channel values of 175 red, 186 green, and 106 blue. The green channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 68 degrees with 37% saturation and 57% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #AFBA6A is 174/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 6% cyan, 0% magenta, 43% yellow, and 27% key (black).

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

    The complementary colour #7469BA creates maximum visual tension when paired with #AFBA6A. For more harmonious color combinations, use the analogous colours #BA9C69 and #87BA69, 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 #AFBA6A

    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 #AFBA6A?
    #AFBA6A is Color #AFBA6A, a yellow color (colour) with RGB(175, 186, 106), HSL(68, 37%, 57%), and CMYK(6%, 0%, 43%, 27%). Its perceived brightness is 174/255.
    Is #AFBA6A accessible for text?
    Against white, #AFBA6A has a contrast ratio of 2.09:1 (fails AA for normal text). Against black, it has 10.05:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #AFBA6A?
    The complementary colour is #7469BA (hue 248). For subtle color combinations, use analogous colours #BA9C69 and #87BA69. The triadic palette adds #69AFBA and #BA69AF for vibrant variety.
    How do I use #AFBA6A in CSS?
    Use any format: color: #afba6a; or rgb(175, 186, 106); or hsl(68, 37%, 57%). For CSS custom properties: --color-primary: 68 37% 57%; 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.