Skip to content

#dfda0e

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

RGB
223, 218, 14
HSL
59°, 88%, 47%
CMYK
0, 2, 94, 13
Luminance
0.6586

At a glance

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

Hex
#dfda0e
Hue
59°
yellow
Saturation
88%
electric
Lightness
47%
balanced
Brightness
87%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6586
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.17:1
Closest name
Yellow
ΔE2000 8
Where it sits
Hue59° of 360°
Saturation88%
Lightness47%
Temperature
Warm ← → Cool24% 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#dfda0e
RGBrgb(223, 218, 14)
HSLhsl(59, 88%, 47%)
CMYKcmyk(0%, 2%, 94%, 13%)
LABlab(84.9 -16.9 83.2)
LCHlch(84.9 84.9 101.5)
OKLCHoklch(0.864 0.185 108.0)
Decimal14670350
Display P3color(display-p3 0.875 0.855 0.055)

Copy-ready code

/* CSS */
color: #dfda0e;
background-color: #dfda0e;
/* Tailwind (arbitrary) */
class="text-[#dfda0e] bg-[#dfda0e]"
/* SCSS */
$brand: #dfda0e;
/* SwiftUI */
Color(red: 0.875, green: 0.855, blue: 0.055)
/* Android */
Color.parseColor("#dfda0e")
/* Flutter */
Color(0xFFDFDA0E)
/* Python / OpenCV (BGR) */
(14, 218, 223)

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

Accessibility — WCAG contrast

Aa
#dfda0e on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dfda0e on black: 14.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDD100
deuteranopia · #F0D72C
tritanopia · #F0CBBA

Color scale — 50 to 950

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

#FDFCF2
#FAFAE5
#F8F7C4
#F8F695
#F5F261
#F2ED2C
#dfda0e
#C0BC0C
#9A960A
#6F6D0C
#454407
Base = 600Lightest = 50 · #FDFCF2Darkest = 950 · #454407
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FAFAE5;
  --brand-200: #F8F7C4;
  --brand-300: #F8F695;
  --brand-400: #F5F261;
  --brand-500: #F2ED2C;
  --brand-600: #dfda0e;
  --brand-700: #C0BC0C;
  --brand-800: #9A960A;
  --brand-900: #6F6D0C;
  --brand-950: #454407;
  --brand: #dfda0e;
  --brand-ink: #000000;
}

Colors that work with #dfda0e

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#EDECC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#0945E4
Second voice, not a rival
Dark variant#787508
Hover, pressed, headers
Light variant#FDFDE7
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 #dfda0e

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#0E13DF
Analogous left#DF720E
Analogous right#7BDF0E
Split-complement 1#0E7BDF
Split-complement 2#720EDF
Triadic 1#0EDFDA
Triadic 2#DA0EDF
Tetradic#0EDF72

RGB percentages

Red87.5%
Green85.5%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow93.7%
Key (black)12.5%

Color previews

#dfda0e text on a black background

contrast 14.17:1

Card sample

#dfda0e text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 218, 14, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 218, 14, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfda0e;
background: linear-gradient(135deg, #dfda0e, #59DF0E);

Monochromatic scale

Palettes built from #dfda0e

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.

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

#dfda0e, answered

What color is #dfda0e?

#dfda0e is a balanced electric yellow, closest to Yellow (ΔE2000 8). It sits at 59° on the hue wheel with 88% saturation and 47% lightness, which reads as warm.

What is the RGB value of #dfda0e?

rgb(223, 218, 14) — 223 red, 218 green and 14 blue out of 255, or 87.5% / 85.5% / 5.5% by channel.

Is #dfda0e a light or a dark color?

It is a light color. Relative luminance is 0.6586 and perceived brightness is 81%, so black text on it reaches 14.17:1.

Should I use black or white text on #dfda0e?

Black. It scores 14.17:1 against #dfda0e, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #dfda0e?

#0E13DF sits directly opposite on the wheel. Softer options are the split-complements #0E7BDF and #720EDF, which give the same contrast with far less vibration.

What colors go well with #dfda0e?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #0945E4 as an accent and #787508 for hover and pressed states. For a palette, the analogous pair #DF720E and #7BDF0E stays calm, while #0E13DF is the loudest partner.

What is #dfda0e in CMYK for printing?

cmyk(0%, 2%, 94%, 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 #dfda0e warm or cool?

Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF9E0E; nudged cooler, #98E20C.

Work with #dfda0e in the Color Lab