Skip to content

#dfe620

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

RGB
223, 230, 32
HSL
62°, 80%, 51%
CMYK
3, 0, 86, 10
Luminance
0.7239

At a glance

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

Hex
#dfe620
Hue
62°
yellow
Saturation
80%
electric
Lightness
51%
balanced
Brightness
90%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7239
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
15.48:1
Closest name
Yellow
ΔE2000 6.1
Where it sits
Hue62° of 360°
Saturation80%
Lightness51%
Temperature
Warm ← → Cool27% 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#dfe620
RGBrgb(223, 230, 32)
HSLhsl(62, 80%, 51%)
CMYKcmyk(3%, 0%, 86%, 10%)
LABlab(88.2 -22.4 83.1)
LCHlch(88.2 86.1 105.1)
OKLCHoklch(0.890 0.192 112.0)
Decimal14673440
Display P3color(display-p3 0.875 0.902 0.125)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe620 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#dfe620 on black: 15.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8DB00
deuteranopia · #F9DF38
tritanopia · #EFD7C4

Color scale — 50 to 950

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

#FCFCF3
#F9F9E6
#F3F5C7
#F1F49A
#E9EE68
#E2E835
#dfe620
#B2B715
#8E9310
#676A10
#40420A
Base = 600Lightest = 50 · #FCFCF3Darkest = 950 · #40420A
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F9E6;
  --brand-200: #F3F5C7;
  --brand-300: #F1F49A;
  --brand-400: #E9EE68;
  --brand-500: #E2E835;
  --brand-600: #dfe620;
  --brand-700: #B2B715;
  --brand-800: #8E9310;
  --brand-900: #676A10;
  --brand-950: #40420A;
  --brand: #dfe620;
  --brand-ink: #000000;
}

Colors that work with #dfe620

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#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#1B48EB
Second voice, not a rival
Dark variant#6F730D
Hover, pressed, headers
Light variant#FCFCE8
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 #dfe620

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#2720E6
Analogous left#E68A20
Analogous right#7CE620
Split-complement 1#207CE6
Split-complement 2#8A20E6
Triadic 1#20DFE6
Triadic 2#E620DF
Tetradic#20E68A

RGB percentages

Red87.5%
Green90.2%
Blue12.5%

CMYK percentages

Cyan3.0%
Magenta0.0%
Yellow86.1%
Key (black)9.8%

Color previews

#dfe620 text on a black background

contrast 15.48:1

Card sample

#dfe620 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe620

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.

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

#dfe620, answered

What color is #dfe620?

#dfe620 is a balanced electric yellow, closest to Yellow (ΔE2000 6.1). It sits at 62° on the hue wheel with 80% saturation and 51% lightness, which reads as warm.

What is the RGB value of #dfe620?

rgb(223, 230, 32) — 223 red, 230 green and 32 blue out of 255, or 87.5% / 90.2% / 12.5% by channel.

Is #dfe620 a light or a dark color?

It is a light color. Relative luminance is 0.7239 and perceived brightness is 84%, so black text on it reaches 15.48:1.

Should I use black or white text on #dfe620?

Black. It scores 15.48:1 against #dfe620, versus 1.36:1 for white — AAA at any size.

What is the complementary color of #dfe620?

#2720E6 sits directly opposite on the wheel. Softer options are the split-complements #207CE6 and #8A20E6, which give the same contrast with far less vibration.

What colors go well with #dfe620?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #1B48EB as an accent and #6F730D for hover and pressed states. For a palette, the analogous pair #E68A20 and #7CE620 stays calm, while #2720E6 is the loudest partner.

What is #dfe620 in CMYK for printing?

cmyk(3%, 0%, 86%, 10%). 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 #dfe620 warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E6AB20; nudged cooler, #97E81E.

Work with #dfe620 in the Color Lab