Color #DEC987 Color / Colour Code #DEC987
This page shows the hex color code for color #dec987 (#DEC987). The colour is a yellow tone with 57% saturation and 70% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #DEC987 against common backgrounds.
Complementary Colors
#DEC987 paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 16, 46, and 76 degrees for harmonious combinations.
Triadic Palette
Three colors at 46, 166, and 286 degrees.
Color Palettes Using #DEC987
Five shades at lightness levels 15% through 85% while keeping hue at 46 and saturation at 57%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 46 to 91 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.
Combines the base color at hue 46 with its complement at 226 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
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.
Shades & Tints of #DEC987
Lightness variations at hue 46 and 57% saturation.
CSS Gradients with #DEC987
Design Use Cases for #DEC987
Balanced UI Color
At 57% saturation, #DEC987 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
#DEC987 at 70% 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
#DEC987 is in the yellow spectrum (hue 46). 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 #DEC987 (hue 46) to its complement at hue 226. For a subtler effect, try pairing with an analogous color at hue 76. Use CSS: background: linear-gradient(135deg, #dec987, #879bde);
CSS Code for #DEC987
Similar Colors
Colors visually similar to #DEC987 based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #DEC987 across image editing and color design tools.
About Color #DEC987 (#DEC987)
#DEC987 is a yellow color (colour) with RGB channel values of 222 red, 201 green, and 135 blue. The red channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 46 degrees with 57% saturation and 70% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #DEC987 is 200/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, 9% magenta, 39% yellow, and 13% key (black).
The WCAG contrast ratio of #DEC987 against white is 1.64:1 and against black is 12.81:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 12.81:1, or use it exclusively for decorative purposes.
The complementary colour #879BDE creates maximum visual tension when paired with #DEC987. For more harmonious color combinations, use the analogous colours #DE9E87 and #C7DE87, 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 #DEC987
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
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 #DEC987?
- #DEC987 is Color #DEC987, a yellow color (colour) with RGB(222, 201, 135), HSL(46, 57%, 70%), and CMYK(0%, 9%, 39%, 13%). Its perceived brightness is 200/255.
- Is #DEC987 accessible for text?
- Against white, #DEC987 has a contrast ratio of 1.64:1 (fails AA for normal text). Against black, it has 12.81:1 (passes AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #DEC987?
- The complementary colour is #879BDE (hue 226). For subtle color combinations, use analogous colours #DE9E87 and #C7DE87. The triadic palette adds #87DECA and #CA87DE for vibrant variety.
- How do I use #DEC987 in CSS?
- Use any format: color: #dec987; or rgb(222, 201, 135); or hsl(46, 57%, 70%). For CSS custom properties: --color-primary: 46 57% 70%; 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.