Color #D2D87F Color / Colour Code #D2D87F

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

    #D2D87F

    Color Conversions

    HEX
    #D2D87F
    RGB
    rgb(210, 216, 127)
    HSL
    hsl(64, 53%, 67%)
    HSV
    hsv(64, 41%, 85%)
    CMYK
    cmyk(3%, 0%, 41%, 15%)

    Accessibility Contrast

    WCAG contrast ratios for #D2D87F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    1.51:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    13.87:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.31:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 34, 64, and 94 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 64, 184, and 304 degrees.

    Color Palettes Using #D2D87F

    Monochromatic Scale

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

    #383B12 #707524 #BAC33C #D6DB8A #EAEDC4
    Warm Harmony

    Adjacent hues from 64 to 109 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.

    #C1C94F #A3C94F #84C94F #66C94F
    Cool Contrast

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

    #BAC33C #453CC3 #893CC3 #C33CBA
    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.

    #DEE0B8 #B8E0BA #B8DEE0 #BAB8E0 #E0B8DE

    Shades & Tints of #D2D87F

    Lightness variations at hue 64 and 53% saturation.

    CSS Gradients with #D2D87F

    Yellow to Blue
    linear-gradient(135deg, #d2d87f, #847ed7)
    Analogous Fade
    linear-gradient(90deg, #d2d87f, #a5d77e)
    Deep to Light
    linear-gradient(180deg, #434616, #e6e9b9)
    Tricolor Sweep
    linear-gradient(135deg, #d2d77e, #7ed2d7, #d77ed2)

    Design Use Cases for #D2D87F

    Balanced UI Color

    At 53% saturation, #D2D87F 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 67% lightness, #D2D87F 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

    #D2D87F is in the yellow spectrum (hue 64). 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 #D2D87F (hue 64) to its complement at hue 244. For a subtler effect, try pairing with an analogous color at hue 94. Use CSS: background: linear-gradient(135deg, #d2d87f, #847ed7);

    CSS Code for #D2D87F

    /* Background */
    background-color: #d2d87f;
    background-color: rgb(210, 216, 127);
    background-color: hsl(64, 53%, 67%);
    /* Text */
    color: #d2d87f;
    /* Border */
    border: 2px solid #d2d87f;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(210, 216, 127, 0.3);
    /* CSS Variable */
    --color-primary: 64 53% 67%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #D2D87F across image editing and color design tools.

    About Color #D2D87F (#D2D87F)

    #D2D87F is a yellow color (colour) with RGB channel values of 210 red, 216 green, and 127 blue. The green channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 64 degrees with 53% saturation and 67% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #D2D87F is 204/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 3% cyan, 0% magenta, 41% yellow, and 15% key (black).

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

    The complementary colour #847ED7 creates maximum visual tension when paired with #D2D87F. For more harmonious color combinations, use the analogous colours #D7B17E and #A5D77E, 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 #D2D87F

    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 #D2D87F?
    #D2D87F is Color #D2D87F, a yellow color (colour) with RGB(210, 216, 127), HSL(64, 53%, 67%), and CMYK(3%, 0%, 41%, 15%). Its perceived brightness is 204/255.
    Is #D2D87F accessible for text?
    Against white, #D2D87F has a contrast ratio of 1.51:1 (fails AA for normal text). Against black, it has 13.87:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #D2D87F?
    The complementary colour is #847ED7 (hue 244). For subtle color combinations, use analogous colours #D7B17E and #A5D77E. The triadic palette adds #7ED2D7 and #D77ED2 for vibrant variety.
    How do I use #D2D87F in CSS?
    Use any format: color: #d2d87f; or rgb(210, 216, 127); or hsl(64, 53%, 67%). For CSS custom properties: --color-primary: 64 53% 67%; 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.