Color #A18227 Color / Colour Code #A18227

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

    #A18227

    Color Conversions

    HEX
    #A18227
    RGB
    rgb(161, 130, 39)
    HSL
    hsl(45, 61%, 39%)
    HSV
    hsv(45, 76%, 63%)
    CMYK
    cmyk(0%, 19%, 76%, 37%)

    Accessibility Contrast

    WCAG contrast ratios for #A18227 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    3.66:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    5.74:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    3.15:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 15, 45, and 75 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 45, 165, and 285 degrees.

    Color Palettes Using #A18227

    Monochromatic Scale

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

    #3E320F #7B641E #CDA632 #E1CA84 #F0E4C1
    Warm Harmony

    Adjacent hues from 45 to 90 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.

    #D2AF46 #D2D246 #AFD246 #8CD246
    Cool Contrast

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

    #CDA632 #3259CD #5932CD #A632CD
    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.

    #E0D6B8 #C2E0B8 #B8E0D6 #B8C2E0 #D6B8E0

    Shades & Tints of #A18227

    Lightness variations at hue 45 and 61% saturation.

    CSS Gradients with #A18227

    Yellow to Blue
    linear-gradient(135deg, #a18227, #2745a0)
    Analogous Fade
    linear-gradient(90deg, #a18227, #82a027)
    Deep to Light
    linear-gradient(180deg, #4a3c12, #eddfb5)
    Tricolor Sweep
    linear-gradient(135deg, #a08227, #27a082, #8227a0)

    Design Use Cases for #A18227

    Vibrant Brand Color

    #A18227 has a strong 61% 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 39% lightness, #A18227 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

    #A18227 is in the yellow spectrum (hue 45). 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 #A18227 (hue 45) to its complement at hue 225. For a subtler effect, try pairing with an analogous color at hue 75. Use CSS: background: linear-gradient(135deg, #a18227, #2745a0);

    CSS Code for #A18227

    /* Background */
    background-color: #a18227;
    background-color: rgb(161, 130, 39);
    background-color: hsl(45, 61%, 39%);
    /* Text */
    color: #a18227;
    /* Border */
    border: 2px solid #a18227;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(161, 130, 39, 0.3);
    /* CSS Variable */
    --color-primary: 45 61% 39%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #A18227 across image editing and color design tools.

    About Color #A18227 (#A18227)

    #A18227 is a yellow color (colour) with RGB channel values of 161 red, 130 green, and 39 blue. The red channel is dominant by a ratio of 4.1:1 over the weakest channel. In HSL terms, the hue sits at 45 degrees with 61% saturation and 39% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #A18227 is 129/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, 19% magenta, 76% yellow, and 37% key (black).

    The WCAG contrast ratio of #A18227 against white is 3.66:1 and against black is 5.74:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 5.74:1.

    The complementary colour #2745A0 creates maximum visual tension when paired with #A18227. For more harmonious color combinations, use the analogous colours #A04527 and #82A027, 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 #A18227

    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 #A18227?
    #A18227 is Color #A18227, a yellow color (colour) with RGB(161, 130, 39), HSL(45, 61%, 39%), and CMYK(0%, 19%, 76%, 37%). Its perceived brightness is 129/255.
    Is #A18227 accessible for text?
    Against white, #A18227 has a contrast ratio of 3.66:1 (fails AA for normal text). Against black, it has 5.74:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
    What colours pair well with #A18227?
    The complementary colour is #2745A0 (hue 225). For subtle color combinations, use analogous colours #A04527 and #82A027. The triadic palette adds #27A082 and #8227A0 for vibrant variety.
    How do I use #A18227 in CSS?
    Use any format: color: #a18227; or rgb(161, 130, 39); or hsl(45, 61%, 39%). For CSS custom properties: --color-primary: 45 61% 39%; 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.