Skip to content

#dce960

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

RGB
220, 233, 96
HSL
66°, 76%, 65%
CMYK
6, 0, 59, 9
Luminance
0.7434

At a glance

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

Hex
#dce960
Hue
66°
yellow
Saturation
76%
electric
Lightness
65%
balanced
Brightness
91%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7434
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
15.87:1
Closest name
Khaki
ΔE2000 7.6
Where it sits
Hue66° of 360°
Saturation76%
Lightness65%
Temperature
Warm ← → Cool30% 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#dce960
RGBrgb(220, 233, 96)
HSLhsl(66, 76%, 65%)
CMYKcmyk(6%, 0%, 59%, 9%)
LABlab(89.1 -22.2 63.4)
LCHlch(89.1 67.2 109.3)
OKLCHoklch(0.898 0.160 114.2)
Decimal14477664
Display P3color(display-p3 0.863 0.914 0.376)

Copy-ready code

/* CSS */
color: #dce960;
background-color: #dce960;
/* Tailwind (arbitrary) */
class="text-[#dce960] bg-[#dce960]"
/* SCSS */
$brand: #dce960;
/* SwiftUI */
Color(red: 0.863, green: 0.914, blue: 0.376)
/* Android */
Color.parseColor("#dce960")
/* Flutter */
Color(0xFFDCE960)
/* Python / OpenCV (BGR) */
(96, 233, 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 #dce960 · 15.87:1
Use #000000AAA at every size.
Aa
White text · 1.32:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.87:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dce960 as text scores 1.32:1 on white and 15.87:1 on black.

Accessibility — WCAG contrast

Aa
#dce960 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#dce960 on black: 15.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8DF50
deuteranopia · #F8E169
tritanopia · #E9DDCC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dce960 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.

#FBFCF3
#F7F9E7
#F0F4C8
#E9F19C
#dce960
#D4E43A
#C5D71E
#A5B319
#848F14
#606813
#3C410C
Base = 400Lightest = 50 · #FBFCF3Darkest = 950 · #3C410C
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F7F9E7;
  --brand-200: #F0F4C8;
  --brand-300: #E9F19C;
  --brand-400: #dce960;
  --brand-500: #D4E43A;
  --brand-600: #C5D71E;
  --brand-700: #A5B319;
  --brand-800: #848F14;
  --brand-900: #606813;
  --brand-950: #3C410C;
  --brand: #dce960;
  --brand-ink: #000000;
}

Colors that work with #dce960

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#E8EDC0
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#5C73ED
Second voice, not a rival
Dark variant#67700F
Hover, pressed, headers
Light variant#FAFCE9
Selected rows, tints
Dark surface#232414
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 #dce960

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#6D60E9
Analogous left#E9B160
Analogous right#97E960
Split-complement 1#6097E9
Split-complement 2#B160E9
Triadic 1#60DCE9
Triadic 2#E960DC
Tetradic#60E9B1

RGB percentages

Red86.3%
Green91.4%
Blue37.6%

CMYK percentages

Cyan5.6%
Magenta0.0%
Yellow58.8%
Key (black)8.6%

Color previews

#dce960 text on a black background

contrast 15.87:1

Card sample

#dce960 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 233, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 233, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dce960;
background: linear-gradient(135deg, #dce960, #81E960);

Monochromatic scale

Palettes built from #dce960

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.

#dce960 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#dce960, answered

What color is #dce960?

#dce960 is a balanced electric yellow, closest to Khaki (ΔE2000 7.6). It sits at 66° on the hue wheel with 76% saturation and 65% lightness, which reads as warm.

What is the RGB value of #dce960?

rgb(220, 233, 96) — 220 red, 233 green and 96 blue out of 255, or 86.3% / 91.4% / 37.6% by channel.

Is #dce960 a light or a dark color?

It is a light color. Relative luminance is 0.7434 and perceived brightness is 85%, so black text on it reaches 15.87:1.

Should I use black or white text on #dce960?

Black. It scores 15.87:1 against #dce960, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #dce960?

#6D60E9 sits directly opposite on the wheel. Softer options are the split-complements #6097E9 and #B160E9, which give the same contrast with far less vibration.

What colors go well with #dce960?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #939B4B for secondary text, #5C73ED as an accent and #67700F for hover and pressed states. For a palette, the analogous pair #E9B160 and #97E960 stays calm, while #6D60E9 is the loudest partner.

What is #dce960 in CMYK for printing?

cmyk(6%, 0%, 59%, 9%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #dce960 warm or cool?

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

Work with #dce960 in the Color Lab