Skip to content

#dfeaa2

a light, vivid yellow · warm · closest name: Pale Goldenrod

RGB
223, 234, 162
HSL
69°, 63%, 78%
CMYK
5, 0, 31, 8
Luminance
0.7714

At a glance

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

Hex
#dfeaa2
Hue
69°
yellow
Saturation
63%
vivid
Lightness
78%
light
Brightness
92%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7714
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.43:1
Closest name
Pale Goldenrod
ΔE2000 4.9
Where it sits
Hue69° of 360°
Saturation63%
Lightness78%
Temperature
Warm ← → Cool33% 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#dfeaa2
RGBrgb(223, 234, 162)
HSLhsl(69, 63%, 78%)
CMYKcmyk(5%, 0%, 31%, 8%)
LABlab(90.4 -15.0 33.8)
LCHlch(90.4 37.0 113.9)
OKLCHoklch(0.912 0.093 115.4)
Decimal14674594
Display P3color(display-p3 0.875 0.918 0.635)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfeaa2 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#dfeaa2 on black: 16.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4E39D
deuteranopia · #F3E4A5
tritanopia · #E7E2D7

Color scale — 50 to 950

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

#FAFBF4
#F5F7E8
#EBF0CB
#dfeaa2
#D0E076
#C0D648
#B0C82D
#93A626
#75851E
#56611A
#363C10
Base = 300Lightest = 50 · #FAFBF4Darkest = 950 · #363C10
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F5F7E8;
  --brand-200: #EBF0CB;
  --brand-300: #dfeaa2;
  --brand-400: #D0E076;
  --brand-500: #C0D648;
  --brand-600: #B0C82D;
  --brand-700: #93A626;
  --brand-800: #75851E;
  --brand-900: #56611A;
  --brand-950: #363C10;
  --brand: #dfeaa2;
  --brand-ink: #000000;
}

Colors that work with #dfeaa2

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#F9FAF4
Tinted page background
Border#E6EDC0
Hairlines and dividers
Muted text#8F9B4B
Captions on the surface
Accent#2230AA
Second voice, not a rival
Dark variant#5C6817
Hover, pressed, headers
Light variant#F8FAEA
Selected rows, tints
Dark surface#222414
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 #dfeaa2

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#ADA2EA
Analogous left#EAD1A2
Analogous right#BBEAA2
Split-complement 1#A2BBEA
Split-complement 2#D1A2EA
Triadic 1#A2DFEA
Triadic 2#EAA2DF
Tetradic#A2EAD1

RGB percentages

Red87.5%
Green91.8%
Blue63.5%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow30.8%
Key (black)8.2%

Color previews

#dfeaa2 text on a black background

contrast 16.43:1

Card sample

#dfeaa2 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfeaa2

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.

#dfeaa2 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#dfeaa2, answered

What color is #dfeaa2?

#dfeaa2 is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 4.9). It sits at 69° on the hue wheel with 63% saturation and 78% lightness, which reads as warm.

What is the RGB value of #dfeaa2?

rgb(223, 234, 162) — 223 red, 234 green and 162 blue out of 255, or 87.5% / 91.8% / 63.5% by channel.

Is #dfeaa2 a light or a dark color?

It is a light color. Relative luminance is 0.7714 and perceived brightness is 88%, so black text on it reaches 16.43:1.

Should I use black or white text on #dfeaa2?

Black. It scores 16.43:1 against #dfeaa2, versus 1.28:1 for white — AAA at any size.

What is the complementary color of #dfeaa2?

#ADA2EA sits directly opposite on the wheel. Softer options are the split-complements #A2BBEA and #D1A2EA, which give the same contrast with far less vibration.

What colors go well with #dfeaa2?

For interface work: #F9FAF4 as the surface, #E6EDC0 for borders, #8F9B4B for secondary text, #2230AA as an accent and #5C6817 for hover and pressed states. For a palette, the analogous pair #EAD1A2 and #BBEAA2 stays calm, while #ADA2EA is the loudest partner.

What is #dfeaa2 in CMYK for printing?

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

Is #dfeaa2 warm or cool?

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

Work with #dfeaa2 in the Color Lab