Color #C7A12E Color / Colour Code #C7A12E

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

    #C7A12E

    Color Conversions

    HEX
    #C7A12E
    RGB
    rgb(199, 161, 46)
    HSL
    hsl(45, 62%, 48%)
    HSV
    hsv(45, 77%, 78%)
    CMYK
    cmyk(0%, 19%, 77%, 22%)

    Accessibility Contrast

    WCAG contrast ratios for #C7A12E against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.45:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    8.57:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    2.11:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #C7A12E 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 #C7A12E

    Monochromatic Scale

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

    #3E320F #7C641D #CFA730 #E2CA83 #F0E5C1
    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.

    #D3B045 #D3D345 #B0D345 #8CD345
    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.

    #CFA730 #3058CF #5830CF #A730CF
    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 #C7A12E

    Lightness variations at hue 45 and 62% saturation.

    CSS Gradients with #C7A12E

    Yellow to Blue
    linear-gradient(135deg, #c7a12e, #2f54c6)
    Analogous Fade
    linear-gradient(90deg, #c7a12e, #a0c62f)
    Deep to Light
    linear-gradient(180deg, #4a3c11, #eedfb5)
    Tricolor Sweep
    linear-gradient(135deg, #c6a02f, #2fc6a0, #a02fc6)

    Design Use Cases for #C7A12E

    Vibrant Brand Color

    #C7A12E has a strong 62% 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 48% lightness, #C7A12E 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

    #C7A12E 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 #C7A12E (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, #c7a12e, #2f54c6);

    CSS Code for #C7A12E

    /* Background */
    background-color: #c7a12e;
    background-color: rgb(199, 161, 46);
    background-color: hsl(45, 62%, 48%);
    /* Text */
    color: #c7a12e;
    /* Border */
    border: 2px solid #c7a12e;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(199, 161, 46, 0.3);
    /* CSS Variable */
    --color-primary: 45 62% 48%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #C7A12E across image editing and color design tools.

    About Color #C7A12E (#C7A12E)

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

    The perceived brightness of #C7A12E is 159/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, 77% yellow, and 22% key (black).

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

    The complementary colour #2F54C6 creates maximum visual tension when paired with #C7A12E. For more harmonious color combinations, use the analogous colours #C6542F and #A0C62F, 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 #C7A12E

    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 #C7A12E?
    #C7A12E is Color #C7A12E, a yellow color (colour) with RGB(199, 161, 46), HSL(45, 62%, 48%), and CMYK(0%, 19%, 77%, 22%). Its perceived brightness is 159/255.
    Is #C7A12E accessible for text?
    Against white, #C7A12E has a contrast ratio of 2.45:1 (fails AA for normal text). Against black, it has 8.57:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #C7A12E?
    The complementary colour is #2F54C6 (hue 225). For subtle color combinations, use analogous colours #C6542F and #A0C62F. The triadic palette adds #2FC6A0 and #A02FC6 for vibrant variety.
    How do I use #C7A12E in CSS?
    Use any format: color: #c7a12e; or rgb(199, 161, 46); or hsl(45, 62%, 48%). For CSS custom properties: --color-primary: 45 62% 48%; 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.