#decf8c
a light, vivid yellow · warm · closest name: Pale Goldenrod
At a glance
Every number on this page in one read: what #decf8c is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #decf8c |
| RGB | rgb(222, 207, 140) |
| HSL | hsl(49, 55%, 71%) |
| CMYK | cmyk(0%, 7%, 37%, 13%) |
| LAB | lab(82.9 -4.4 35.2) |
| LCH | lch(82.9 35.5 97.1) |
| OKLCH | oklch(0.851 0.088 97.1) |
| Decimal | 14602124 |
| Display P3 | color(display-p3 0.871 0.812 0.549) |
Copy-ready code
/* CSS */
color: #decf8c;
background-color: #decf8c;
/* Tailwind (arbitrary) */
class="text-[#decf8c] bg-[#decf8c]"
/* SCSS */
$brand: #decf8c;
/* SwiftUI */
Color(red: 0.871, green: 0.812, blue: 0.549)
/* Android */
Color.parseColor("#decf8c")
/* Flutter */
Color(0xFFDECF8C)
/* Python / OpenCV (BGR) */
(140, 207, 222)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #decf8c is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBF9F4;
--brand-100: #F6F4E9;
--brand-200: #EEE8CE;
--brand-300: #E6DBA8;
--brand-400: #decf8c;
--brand-500: #CDB651;
--brand-600: #BEA537;
--brand-700: #9F8A2D;
--brand-800: #7F6E24;
--brand-900: #5C511E;
--brand-950: #3A3313;
--brand: #decf8c;
--brand-ink: #000000;
}Colors that work with #decf8c
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #decf8c
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #8C9BDE | Directly opposite — maximum tension | |
| Analogous left | #DEA68C | Neighbour, quieter | |
| Analogous right | #C4DE8C | Neighbour, quieter | |
| Split-complement 1 | #8CC4DE | Contrast without the clash | |
| Split-complement 2 | #A68CDE | Contrast without the clash | |
| Triadic 1 | #8CDECF | Even thirds — balanced and loud | |
| Triadic 2 | #CF8CDE | Even thirds — balanced and loud | |
| Tetradic | #8CDEA6 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#decf8c text on a black background
contrast 13.41:1
#decf8c text on a white background
contrast 1.57:1
CSS3 live lab
The quick brown fox
color: #decf8c;
background-color: #decf8c;
Glowing headline
text-shadow: 2px 2px 8px #decf8c;
Soft neon halo
text-shadow: 0 0 14px rgba(222, 207, 140, 0.45);
box-shadow: 0 12px 32px -8px rgba(222, 207, 140, 0.45);
border: 3px solid #decf8c; background: linear-gradient(135deg, #decf8c, #B6DE8C);
Monochromatic scale
Palettes built from #decf8c
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Wheat (#f5deb3) — ΔE2000 7.9 away, with its history, psychology and brand usage.
#decf8c in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#decf8c, answered
What color is #decf8c?
#decf8c is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 6.1). It sits at 49° on the hue wheel with 55% saturation and 71% lightness, which reads as warm.
What is the RGB value of #decf8c?
rgb(222, 207, 140) — 222 red, 207 green and 140 blue out of 255, or 87.1% / 81.2% / 54.9% by channel.
Is #decf8c a light or a dark color?
It is a light color. Relative luminance is 0.6205 and perceived brightness is 80%, so black text on it reaches 13.41:1.
Should I use black or white text on #decf8c?
Black. It scores 13.41:1 against #decf8c, versus 1.57:1 for white — AAA at any size.
What is the complementary color of #decf8c?
#8C9BDE sits directly opposite on the wheel. Softer options are the split-complements #8CC4DE and #A68CDE, which give the same contrast with far less vibration.
What colors go well with #decf8c?
For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #295EA3 as an accent and #63561C for hover and pressed states. For a palette, the analogous pair #DEA68C and #C4DE8C stays calm, while #8C9BDE is the loudest partner.
What is #decf8c in CMYK for printing?
cmyk(0%, 7%, 37%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #decf8c warm or cool?
Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DEB78C; nudged cooler, #D0DF8B.