Skip to content

#dcdf0a

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

RGB
220, 223, 10
HSL
61°, 91%, 46%
CMYK
1, 0, 96, 13
Luminance
0.6801

At a glance

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

Hex
#dcdf0a
Hue
61°
yellow
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6801
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.60:1
Closest name
Yellow
ΔE2000 7.2
Where it sits
Hue61° of 360°
Saturation91%
Lightness46%
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#dcdf0a
RGBrgb(220, 223, 10)
HSLhsl(61, 91%, 46%)
CMYKcmyk(1%, 0%, 96%, 13%)
LABlab(86.0 -20.6 84.3)
LCHlch(86.0 86.8 103.8)
OKLCHoklch(0.872 0.190 110.7)
Decimal14475018
Display P3color(display-p3 0.863 0.875 0.039)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf0a on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf0a on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F2D500
deuteranopia · #F3D92D
tritanopia · #ECD0BE

Color scale — 50 to 950

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

#FDFDF2
#FBFBE4
#F8F9C3
#F9FA94
#F6F85E
#F3F528
#dcdf0a
#C1C309
#9A9C07
#6F710A
#464606
Base = 600Lightest = 50 · #FDFDF2Darkest = 950 · #464606
:root {
  --brand-50: #FDFDF2;
  --brand-100: #FBFBE4;
  --brand-200: #F8F9C3;
  --brand-300: #F9FA94;
  --brand-400: #F6F85E;
  --brand-500: #F3F528;
  --brand-600: #dcdf0a;
  --brand-700: #C1C309;
  --brand-800: #9A9C07;
  --brand-900: #6F710A;
  --brand-950: #464606;
  --brand: #dcdf0a;
  --brand-ink: #000000;
}

Colors that work with #dcdf0a

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#9A9B4B
Captions on the surface
Accent#053AE4
Second voice, not a rival
Dark variant#787A05
Hover, pressed, headers
Light variant#FEFEE7
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 #dcdf0a

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#0D0ADF
Analogous left#DF770A
Analogous right#72DF0A
Split-complement 1#0A72DF
Split-complement 2#770ADF
Triadic 1#0ADCDF
Triadic 2#DF0ADC
Tetradic#0ADF77

RGB percentages

Red86.3%
Green87.5%
Blue3.9%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow95.5%
Key (black)12.5%

Color previews

#dcdf0a text on a black background

contrast 14.60:1

Card sample

#dcdf0a text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf0a

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.

#dcdf0a 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.

#dcdf0a, answered

What color is #dcdf0a?

#dcdf0a is a balanced electric yellow, closest to Yellow (ΔE2000 7.2). It sits at 61° on the hue wheel with 91% saturation and 46% lightness, which reads as warm.

What is the RGB value of #dcdf0a?

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

Is #dcdf0a a light or a dark color?

It is a light color. Relative luminance is 0.6801 and perceived brightness is 82%, so black text on it reaches 14.60:1.

Should I use black or white text on #dcdf0a?

Black. It scores 14.60:1 against #dcdf0a, versus 1.44:1 for white — AAA at any size.

What is the complementary color of #dcdf0a?

#0D0ADF sits directly opposite on the wheel. Softer options are the split-complements #0A72DF and #770ADF, which give the same contrast with far less vibration.

What colors go well with #dcdf0a?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #053AE4 as an accent and #787A05 for hover and pressed states. For a palette, the analogous pair #DF770A and #72DF0A stays calm, while #0D0ADF is the loudest partner.

What is #dcdf0a in CMYK for printing?

cmyk(1%, 0%, 96%, 13%). 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 #dcdf0a 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 #DFA00A; nudged cooler, #8FE108.

Work with #dcdf0a in the Color Lab