Color #DED997 Color / Colour Code #DED997

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

    #DED997

    Color Conversions

    HEX
    #DED997
    RGB
    rgb(222, 217, 151)
    HSL
    hsl(56, 52%, 73%)
    HSV
    hsv(56, 32%, 87%)
    CMYK
    cmyk(0%, 2%, 32%, 13%)

    Accessibility Contrast

    WCAG contrast ratios for #DED997 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    1.45:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    14.48:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.25:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 26, 56, and 86 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 56, 176, and 296 degrees.

    Color Palettes Using #DED997

    Monochromatic Scale

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

    #3A3712 #746F25 #C2B93D #DAD58B #EDEAC5
    Warm Harmony

    Adjacent hues from 56 to 101 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.

    #C8C051 #B2C851 #94C851 #76C851
    Cool Contrast

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

    #C2B93D #3D46C2 #773DC2 #B93DC2
    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.

    #E0DEB8 #BAE0B8 #B8E0DE #B8BAE0 #DEB8E0

    Shades & Tints of #DED997

    Lightness variations at hue 56 and 52% saturation.

    CSS Gradients with #DED997

    Yellow to Blue
    linear-gradient(135deg, #ded997, #969bde)
    Analogous Fade
    linear-gradient(90deg, #ded997, #bfde96)
    Deep to Light
    linear-gradient(180deg, #464316, #e9e6b9)
    Tricolor Sweep
    linear-gradient(135deg, #ded996, #96ded9, #d996de)

    Design Use Cases for #DED997

    Balanced UI Color

    At 52% saturation, #DED997 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

    #DED997 at 73% 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

    #DED997 is in the yellow spectrum (hue 56). 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 #DED997 (hue 56) to its complement at hue 236. For a subtler effect, try pairing with an analogous color at hue 86. Use CSS: background: linear-gradient(135deg, #ded997, #969bde);

    CSS Code for #DED997

    /* Background */
    background-color: #ded997;
    background-color: rgb(222, 217, 151);
    background-color: hsl(56, 52%, 73%);
    /* Text */
    color: #ded997;
    /* Border */
    border: 2px solid #ded997;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(222, 217, 151, 0.3);
    /* CSS Variable */
    --color-primary: 56 52% 73%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #DED997 across image editing and color design tools.

    About Color #DED997 (#DED997)

    #DED997 is a yellow color (colour) with RGB channel values of 222 red, 217 green, and 151 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 56 degrees with 52% saturation and 73% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #DED997 is 211/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, 2% magenta, 32% yellow, and 13% key (black).

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

    The complementary colour #969BDE creates maximum visual tension when paired with #DED997. For more harmonious color combinations, use the analogous colours #DEB596 and #BFDE96, 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 #DED997

    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 #DED997?
    #DED997 is Color #DED997, a yellow color (colour) with RGB(222, 217, 151), HSL(56, 52%, 73%), and CMYK(0%, 2%, 32%, 13%). Its perceived brightness is 211/255.
    Is #DED997 accessible for text?
    Against white, #DED997 has a contrast ratio of 1.45:1 (fails AA for normal text). Against black, it has 14.48:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #DED997?
    The complementary colour is #969BDE (hue 236). For subtle color combinations, use analogous colours #DEB596 and #BFDE96. The triadic palette adds #96DED9 and #D996DE for vibrant variety.
    How do I use #DED997 in CSS?
    Use any format: color: #ded997; or rgb(222, 217, 151); or hsl(56, 52%, 73%). For CSS custom properties: --color-primary: 56 52% 73%; 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.