#dec56f
a light, vivid yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #dec56f 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 | #dec56f |
| RGB | rgb(222, 197, 111) |
| HSL | hsl(47, 63%, 65%) |
| CMYK | cmyk(0%, 11%, 50%, 13%) |
| LAB | lab(80.0 -2.2 46.0) |
| LCH | lch(80.0 46.1 92.7) |
| OKLCH | oklch(0.827 0.110 93.6) |
| Decimal | 14599535 |
| Display P3 | color(display-p3 0.871 0.773 0.435) |
Copy-ready code
/* CSS */
color: #dec56f;
background-color: #dec56f;
/* Tailwind (arbitrary) */
class="text-[#dec56f] bg-[#dec56f]"
/* SCSS */
$brand: #dec56f;
/* SwiftUI */
Color(red: 0.871, green: 0.773, blue: 0.435)
/* Android */
Color.parseColor("#dec56f")
/* Flutter */
Color(0xFFDEC56F)
/* Python / OpenCV (BGR) */
(111, 197, 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. #dec56f 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: #F7F4E8;
--brand-200: #F0E8CC;
--brand-300: #EADAA4;
--brand-400: #dec56f;
--brand-500: #D5B548;
--brand-600: #C7A52E;
--brand-700: #A68926;
--brand-800: #856E1E;
--brand-900: #61511A;
--brand-950: #3C3210;
--brand: #dec56f;
--brand-ink: #000000;
}Colors that work with #dec56f
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 #dec56f
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 | #6F88DE | Directly opposite — maximum tension | |
| Analogous left | #DE8E6F | Neighbour, quieter | |
| Analogous right | #BFDE6F | Neighbour, quieter | |
| Split-complement 1 | #6FBFDE | Contrast without the clash | |
| Split-complement 2 | #8E6FDE | Contrast without the clash | |
| Triadic 1 | #6FDEC5 | Even thirds — balanced and loud | |
| Triadic 2 | #C56FDE | Even thirds — balanced and loud | |
| Tetradic | #6FDE8E | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#dec56f text on a black background
contrast 12.32:1
#dec56f text on a white background
contrast 1.70:1
CSS3 live lab
The quick brown fox
color: #dec56f;
background-color: #dec56f;
Glowing headline
text-shadow: 2px 2px 8px #dec56f;
Soft neon halo
text-shadow: 0 0 14px rgba(222, 197, 111, 0.45);
box-shadow: 0 12px 32px -8px rgba(222, 197, 111, 0.45);
border: 3px solid #dec56f; background: linear-gradient(135deg, #dec56f, #ADDE6F);
Monochromatic scale
Palettes built from #dec56f
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: Mustard (#ffdb58) — ΔE2000 8.1 away, with its history, psychology and brand usage.
#dec56f 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.
#dec56f, answered
What color is #dec56f?
#dec56f is a light vivid yellow, closest to Dark Khaki (ΔE2000 7.3). It sits at 47° on the hue wheel with 63% saturation and 65% lightness, which reads as warm.
What is the RGB value of #dec56f?
rgb(222, 197, 111) — 222 red, 197 green and 111 blue out of 255, or 87.1% / 77.3% / 43.5% by channel.
Is #dec56f a light or a dark color?
It is a light color. Relative luminance is 0.5661 and perceived brightness is 77%, so black text on it reaches 12.32:1.
Should I use black or white text on #dec56f?
Black. It scores 12.32:1 against #dec56f, versus 1.70:1 for white — AAA at any size.
What is the complementary color of #dec56f?
#6F88DE sits directly opposite on the wheel. Softer options are the split-complements #6FBFDE and #8E6FDE, which give the same contrast with far less vibration.
What colors go well with #dec56f?
For interface work: #FAF9F4 as the surface, #EDE3C0 for borders, #9B894B for secondary text, #2163AB as an accent and #685618 for hover and pressed states. For a palette, the analogous pair #DE8E6F and #BFDE6F stays calm, while #6F88DE is the loudest partner.
What is #dec56f in CMYK for printing?
cmyk(0%, 11%, 50%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #dec56f warm or cool?
Warm — it scores 14 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DEAB6F; nudged cooler, #D0E06D.