Skip to content

#dfd00d

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

RGB
223, 208, 13
HSL
56°, 89%, 46%
CMYK
0, 7, 94, 13
Luminance
0.6083

At a glance

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

Hex
#dfd00d
Hue
56°
yellow
Saturation
89%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6083
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
13.17:1
Closest name
Gold
ΔE2000 6.6
Where it sits
Hue56° of 360°
Saturation89%
Lightness46%
Temperature
Warm ← → Cool21% 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#dfd00d
RGBrgb(223, 208, 13)
HSLhsl(56, 89%, 46%)
CMYKcmyk(0%, 7%, 94%, 13%)
LABlab(82.3 -11.9 81.3)
LCHlch(82.3 82.2 98.4)
OKLCHoklch(0.843 0.177 104.2)
Decimal14667789
Display P3color(display-p3 0.875 0.816 0.051)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd00d on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dfd00d on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4C900
deuteranopia · #E9D029
tritanopia · #F1C0B1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dfd00d 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
#FBF9E5
#F8F4C4
#F9F295
#F6EB60
#F3E42B
#dfd00d
#C1B40B
#9A9009
#6F680B
#464107
Base = 600Lightest = 50 · #FDFCF2Darkest = 950 · #464107
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FBF9E5;
  --brand-200: #F8F4C4;
  --brand-300: #F9F295;
  --brand-400: #F6EB60;
  --brand-500: #F3E42B;
  --brand-600: #dfd00d;
  --brand-700: #C1B40B;
  --brand-800: #9A9009;
  --brand-900: #6F680B;
  --brand-950: #464107;
  --brand: #dfd00d;
  --brand-ink: #000000;
}

Colors that work with #dfd00d

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#EDE9C0
Hairlines and dividers
Muted text#9B954B
Captions on the surface
Accent#084FE4
Second voice, not a rival
Dark variant#787007
Hover, pressed, headers
Light variant#FEFCE7
Selected rows, tints
Dark surface#242314
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 #dfd00d

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#0D1CDF
Analogous left#DF670D
Analogous right#85DF0D
Split-complement 1#0D85DF
Split-complement 2#670DDF
Triadic 1#0DDFD0
Triadic 2#D00DDF
Tetradic#0DDF67

RGB percentages

Red87.5%
Green81.6%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow94.2%
Key (black)12.5%

Color previews

#dfd00d text on a black background

contrast 13.17:1

Card sample

#dfd00d text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 208, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 208, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd00d;
background: linear-gradient(135deg, #dfd00d, #62DF0D);

Monochromatic scale

Palettes built from #dfd00d

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.

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

#dfd00d, answered

What color is #dfd00d?

#dfd00d is a balanced electric yellow, closest to Gold (ΔE2000 6.6). It sits at 56° on the hue wheel with 89% saturation and 46% lightness, which reads as warm.

What is the RGB value of #dfd00d?

rgb(223, 208, 13) — 223 red, 208 green and 13 blue out of 255, or 87.5% / 81.6% / 5.1% by channel.

Is #dfd00d a light or a dark color?

It is a light color. Relative luminance is 0.6083 and perceived brightness is 79%, so black text on it reaches 13.17:1.

Should I use black or white text on #dfd00d?

Black. It scores 13.17:1 against #dfd00d, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #dfd00d?

#0D1CDF sits directly opposite on the wheel. Softer options are the split-complements #0D85DF and #670DDF, which give the same contrast with far less vibration.

What colors go well with #dfd00d?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B954B for secondary text, #084FE4 as an accent and #787007 for hover and pressed states. For a palette, the analogous pair #DF670D and #85DF0D stays calm, while #0D1CDF is the loudest partner.

What is #dfd00d in CMYK for printing?

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

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

Work with #dfd00d in the Color Lab