Skip to content

#dec56f

a light, vivid yellow · warm · closest name: Dark Khaki

RGB
222, 197, 111
HSL
47°, 63%, 65%
CMYK
0, 11, 50, 13
Luminance
0.5661

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.

Hex
#dec56f
Hue
47°
yellow
Saturation
63%
vivid
Lightness
65%
light
Brightness
87%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5661
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.32:1
Closest name
Dark Khaki
ΔE2000 7.3
Where it sits
Hue47° of 360°
Saturation63%
Lightness65%
Temperature
Warm ← → Cool14% cool

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
RGBrgb(222, 197, 111)
HSLhsl(47, 63%, 65%)
CMYKcmyk(0%, 11%, 50%, 13%)
LABlab(80.0 -2.2 46.0)
LCHlch(80.0 46.1 92.7)
OKLCHoklch(0.827 0.110 93.6)
Decimal14599535
Display P3color(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.

Readable at a glance#000000 on #dec56f · 12.32:1
Use #000000AAA at every size.
Aa
White text · 1.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.32:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dec56f as text scores 1.70:1 on white and 12.32:1 on black.

Accessibility — WCAG contrast

Aa
#dec56f on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#dec56f on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5C268
deuteranopia · #DCCA72
tritanopia · #EDB9B1

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.

#FBF9F4
#F7F4E8
#F0E8CC
#EADAA4
#dec56f
#D5B548
#C7A52E
#A68926
#856E1E
#61511A
#3C3210
Base = 400Lightest = 50 · #FBF9F4Darkest = 950 · #3C3210
: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.

Text on it#000000
Black wins here
Surface#FAF9F4
Tinted page background
Border#EDE3C0
Hairlines and dividers
Muted text#9B894B
Captions on the surface
Accent#2163AB
Second voice, not a rival
Dark variant#685618
Hover, pressed, headers
Light variant#FAF7EA
Selected rows, tints
Dark surface#242114
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #dec56f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • 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
Analogous left#DE8E6F
Analogous right#BFDE6F
Split-complement 1#6FBFDE
Split-complement 2#8E6FDE
Triadic 1#6FDEC5
Triadic 2#C56FDE
Tetradic#6FDE8E

RGB percentages

Red87.1%
Green77.3%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta11.3%
Yellow50.0%
Key (black)12.9%

Color previews

#dec56f text on a black background

contrast 12.32:1

Card sample

#dec56f text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #dec56f;
Background color
Panel with #dec56f background
background-color: #dec56f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #dec56f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(222, 197, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 197, 111, 0.45);
Border & gradient
Gradient panel
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.

#dec56f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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.

Work with #dec56f in the Color Lab