Color #CDC79F Color / Colour Code #CDC79F

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

    #CDC79F

    Color Conversions

    HEX
    #CDC79F
    RGB
    rgb(205, 199, 159)
    HSL
    hsl(52, 32%, 71%)
    HSV
    hsv(52, 22%, 80%)
    CMYK
    cmyk(0%, 3%, 22%, 20%)

    Accessibility Contrast

    WCAG contrast ratios for #CDC79F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    1.71:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    12.27:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.48:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 22, 52, and 82 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 52, 172, and 292 degrees.

    Color Palettes Using #CDC79F

    Monochromatic Scale

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

    #322F1A #655E34 #A89D57 #CBC49A #E5E2CD
    Warm Harmony

    Adjacent hues from 52 to 97 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.

    #B1A768 #A8B168 #96B168 #84B168
    Cool Contrast

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

    #A89D57 #5762A8 #7557A8 #9D57A8
    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.

    #E0DBB8 #BDE0B8 #B8E0DB #B8BDE0 #DBB8E0

    Shades & Tints of #CDC79F

    Lightness variations at hue 52 and 32% saturation.

    CSS Gradients with #CDC79F

    Yellow to Blue
    linear-gradient(135deg, #cdc79f, #9da4cd)
    Analogous Fade
    linear-gradient(90deg, #cdc79f, #bbcd9d)
    Deep to Light
    linear-gradient(180deg, #3d391f, #e0dcc2)
    Tricolor Sweep
    linear-gradient(135deg, #cdc69d, #9dcdc6, #c69dcd)

    Design Use Cases for #CDC79F

    Balanced UI Color

    At 32% saturation, #CDC79F 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.

    Light Background Tint

    #CDC79F at 71% lightness creates a gentle tinted background. Use it for section backgrounds, alert banners, or card surfaces that need to stand out from a white page without strong contrast. It adds color personality while keeping the design light and open.

    Attention & Optimism

    #CDC79F is in the yellow spectrum (hue 52). 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 #CDC79F (hue 52) to its complement at hue 232. For a subtler effect, try pairing with an analogous color at hue 82. Use CSS: background: linear-gradient(135deg, #cdc79f, #9da4cd);

    CSS Code for #CDC79F

    /* Background */
    background-color: #cdc79f;
    background-color: rgb(205, 199, 159);
    background-color: hsl(52, 32%, 71%);
    /* Text */
    color: #cdc79f;
    /* Border */
    border: 2px solid #cdc79f;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(205, 199, 159, 0.3);
    /* CSS Variable */
    --color-primary: 52 32% 71%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #CDC79F across image editing and color design tools.

    About Color #CDC79F (#CDC79F)

    #CDC79F is a yellow color (colour) with RGB channel values of 205 red, 199 green, and 159 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 52 degrees with 32% saturation and 71% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #CDC79F is 196/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This means it appears bright to the human eye and is best paired with dark text for readability. For print production, the CMYK equivalent is 0% cyan, 3% magenta, 22% yellow, and 20% key (black).

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

    The complementary colour #9DA4CD creates maximum visual tension when paired with #CDC79F. For more harmonious color combinations, use the analogous colours #CDAF9D and #BBCD9D, 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 #CDC79F

    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 #CDC79F?
    #CDC79F is Color #CDC79F, a yellow color (colour) with RGB(205, 199, 159), HSL(52, 32%, 71%), and CMYK(0%, 3%, 22%, 20%). Its perceived brightness is 196/255.
    Is #CDC79F accessible for text?
    Against white, #CDC79F has a contrast ratio of 1.71:1 (fails AA for normal text). Against black, it has 12.27:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #CDC79F?
    The complementary colour is #9DA4CD (hue 232). For subtle color combinations, use analogous colours #CDAF9D and #BBCD9D. The triadic palette adds #9DCDC6 and #C69DCD for vibrant variety.
    How do I use #CDC79F in CSS?
    Use any format: color: #cdc79f; or rgb(205, 199, 159); or hsl(52, 32%, 71%). For CSS custom properties: --color-primary: 52 32% 71%; 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.