Skip to content

#dfe352

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

RGB
223, 227, 82
HSL
62°, 72%, 61%
CMYK
2, 0, 64, 11
Luminance
0.7124

At a glance

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

Hex
#dfe352
Hue
62°
yellow
Saturation
72%
vivid
Lightness
61%
balanced
Brightness
89%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7124
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
15.25:1
Closest name
Khaki
ΔE2000 7.4
Where it sits
Hue62° of 360°
Saturation72%
Lightness61%
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#dfe352
RGBrgb(223, 227, 82)
HSLhsl(62, 72%, 61%)
CMYKcmyk(2%, 0%, 64%, 11%)
LABlab(87.6 -19.0 67.7)
LCHlch(87.6 70.3 105.7)
OKLCHoklch(0.887 0.164 110.8)
Decimal14672722
Display P3color(display-p3 0.875 0.890 0.322)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe352 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#dfe352 on black: 15.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4D93F
deuteranopia · #F5DE5C
tritanopia · #EED6C5

Color scale — 50 to 950

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

#FBFCF3
#F8F8E7
#F2F3C9
#EDEF9E
#E4E86E
#dfe352
#CED322
#ABB01C
#898C17
#636615
#3E400D
Base = 500Lightest = 50 · #FBFCF3Darkest = 950 · #3E400D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F2F3C9;
  --brand-300: #EDEF9E;
  --brand-400: #E4E86E;
  --brand-500: #dfe352;
  --brand-600: #CED322;
  --brand-700: #ABB01C;
  --brand-800: #898C17;
  --brand-900: #636615;
  --brand-950: #3E400D;
  --brand: #dfe352;
  --brand-ink: #000000;
}

Colors that work with #dfe352

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#999B4B
Captions on the surface
Accent#4E70E7
Second voice, not a rival
Dark variant#6B6E12
Hover, pressed, headers
Light variant#FBFBE9
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 #dfe352

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#5652E3
Analogous left#E39F52
Analogous right#96E352
Split-complement 1#5296E3
Split-complement 2#9F52E3
Triadic 1#52DFE3
Triadic 2#E352DF
Tetradic#52E39F

RGB percentages

Red87.5%
Green89.0%
Blue32.2%

CMYK percentages

Cyan1.8%
Magenta0.0%
Yellow63.9%
Key (black)11.0%

Color previews

#dfe352 text on a black background

contrast 15.25:1

Card sample

#dfe352 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 227, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 227, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfe352;
background: linear-gradient(135deg, #dfe352, #7EE352);

Monochromatic scale

Palettes built from #dfe352

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.

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

Converts to four-color process without much drama. Proof it anyway.

#dfe352, answered

What color is #dfe352?

#dfe352 is a balanced vivid yellow, closest to Khaki (ΔE2000 7.4). It sits at 62° on the hue wheel with 72% saturation and 61% lightness, which reads as warm.

What is the RGB value of #dfe352?

rgb(223, 227, 82) — 223 red, 227 green and 82 blue out of 255, or 87.5% / 89% / 32.2% by channel.

Is #dfe352 a light or a dark color?

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

Should I use black or white text on #dfe352?

Black. It scores 15.25:1 against #dfe352, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #dfe352?

#5652E3 sits directly opposite on the wheel. Softer options are the split-complements #5296E3 and #9F52E3, which give the same contrast with far less vibration.

What colors go well with #dfe352?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #999B4B for secondary text, #4E70E7 as an accent and #6B6E12 for hover and pressed states. For a palette, the analogous pair #E39F52 and #96E352 stays calm, while #5652E3 is the loudest partner.

What is #dfe352 in CMYK for printing?

cmyk(2%, 0%, 64%, 11%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #dfe352 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 #E3B252; nudged cooler, #AAE550.

Work with #dfe352 in the Color Lab