Skip to content

#dcdf4e

a balanced, vivid yellow · warm · closest name: Khaki

RGB
220, 223, 78
HSL
61°, 69%, 59%
CMYK
1, 0, 65, 13
Luminance
0.6854

At a glance

Every number on this page in one read: what #dcdf4e is made of, how bright it looks, and which way it leans.

Hex
#dcdf4e
Hue
61°
yellow
Saturation
69%
vivid
Lightness
59%
balanced
Brightness
87%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6854
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.71:1
Closest name
Khaki
ΔE2000 7.6
Where it sits
Hue61° of 360°
Saturation69%
Lightness59%
Temperature
Warm ← → Cool26% 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#dcdf4e
RGBrgb(220, 223, 78)
HSLhsl(61, 69%, 59%)
CMYKcmyk(1%, 0%, 65%, 13%)
LABlab(86.3 -18.5 67.8)
LCHlch(86.3 70.3 105.3)
OKLCHoklch(0.875 0.163 110.5)
Decimal14475086
Display P3color(display-p3 0.863 0.875 0.306)

Copy-ready code

/* CSS */
color: #dcdf4e;
background-color: #dcdf4e;
/* Tailwind (arbitrary) */
class="text-[#dcdf4e] bg-[#dcdf4e]"
/* SCSS */
$brand: #dcdf4e;
/* SwiftUI */
Color(red: 0.863, green: 0.875, blue: 0.306)
/* Android */
Color.parseColor("#dcdf4e")
/* Flutter */
Color(0xFFDCDF4E)
/* Python / OpenCV (BGR) */
(78, 223, 220)

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 #dcdf4e · 14.71:1
Use #000000AAA at every size.
Aa
White text · 1.43:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.71:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dcdf4e as text scores 1.43:1 on white and 14.71:1 on black.

Accessibility — WCAG contrast

Aa
#dcdf4e on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf4e on black: 14.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0D63A
deuteranopia · #F1DA58
tritanopia · #EBD2C2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dcdf4e is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFBF3
#F8F8E7
#F1F2CA
#ECEEA0
#E3E570
#dcdf4e
#CCCF25
#AAAD1F
#888A19
#636416
#3E3F0E
Base = 500Lightest = 50 · #FBFBF3Darkest = 950 · #3E3F0E
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F8E7;
  --brand-200: #F1F2CA;
  --brand-300: #ECEEA0;
  --brand-400: #E3E570;
  --brand-500: #dcdf4e;
  --brand-600: #CCCF25;
  --brand-700: #AAAD1F;
  --brand-800: #888A19;
  --brand-900: #636416;
  --brand-950: #3E3F0E;
  --brand: #dcdf4e;
  --brand-ink: #000000;
}

Colors that work with #dcdf4e

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#FAFAF4
Tinted page background
Border#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#4A6DE3
Second voice, not a rival
Dark variant#6A6C14
Hover, pressed, headers
Light variant#FBFBE9
Selected rows, tints
Dark surface#242414
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 #dcdf4e

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
  • 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
  • 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#514EDF
Analogous left#DF994E
Analogous right#94DF4E
Split-complement 1#4E94DF
Split-complement 2#994EDF
Triadic 1#4EDCDF
Triadic 2#DF4EDC
Tetradic#4EDF99

RGB percentages

Red86.3%
Green87.5%
Blue30.6%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow65.0%
Key (black)12.5%

Color previews

#dcdf4e text on a black background

contrast 14.71:1

Card sample

#dcdf4e text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 223, 78, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 223, 78, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcdf4e;
background: linear-gradient(135deg, #dcdf4e, #7BDF4E);

Monochromatic scale

Palettes built from #dcdf4e

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.

#dcdf4e 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#dcdf4e, answered

What color is #dcdf4e?

#dcdf4e is a balanced vivid yellow, closest to Khaki (ΔE2000 7.6). It sits at 61° on the hue wheel with 69% saturation and 59% lightness, which reads as warm.

What is the RGB value of #dcdf4e?

rgb(220, 223, 78) — 220 red, 223 green and 78 blue out of 255, or 86.3% / 87.5% / 30.6% by channel.

Is #dcdf4e a light or a dark color?

It is a light color. Relative luminance is 0.6854 and perceived brightness is 83%, so black text on it reaches 14.71:1.

Should I use black or white text on #dcdf4e?

Black. It scores 14.71:1 against #dcdf4e, versus 1.43:1 for white — AAA at any size.

What is the complementary color of #dcdf4e?

#514EDF sits directly opposite on the wheel. Softer options are the split-complements #4E94DF and #994EDF, which give the same contrast with far less vibration.

What colors go well with #dcdf4e?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #4A6DE3 as an accent and #6A6C14 for hover and pressed states. For a palette, the analogous pair #DF994E and #94DF4E stays calm, while #514EDF is the loudest partner.

What is #dcdf4e in CMYK for printing?

cmyk(1%, 0%, 65%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #dcdf4e warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFAD4E; nudged cooler, #A7E14C.

Work with #dcdf4e in the Color Lab