Skip to content

#dfe6af

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

RGB
223, 230, 175
HSL
68°, 52%, 79%
CMYK
3, 0, 24, 10
Luminance
0.7538

At a glance

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

Hex
#dfe6af
Hue
68°
yellow
Saturation
52%
vivid
Lightness
79%
light
Brightness
90%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7538
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.08:1
Closest name
Pale Goldenrod
ΔE2000 4.3
Where it sits
Hue68° of 360°
Saturation52%
Lightness79%
Temperature
Warm ← → Cool31% 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#dfe6af
RGBrgb(223, 230, 175)
HSLhsl(68, 52%, 79%)
CMYKcmyk(3%, 0%, 24%, 10%)
LABlab(89.6 -11.2 26.1)
LCHlch(89.6 28.4 113.3)
OKLCHoklch(0.906 0.072 113.7)
Decimal14673583
Display P3color(display-p3 0.875 0.902 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe6af on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#dfe6af on black: 16.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EEE1AC
deuteranopia · #EEE2B1
tritanopia · #E6E0D7

Color scale — 50 to 950

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

#FAFAF4
#F4F6E9
#E9EDCF
#dfe6af
#CCD77F
#BBCA54
#AABB3A
#8E9B31
#727C27
#535B20
#343914
Base = 300Lightest = 50 · #FAFAF4Darkest = 950 · #343914
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F4F6E9;
  --brand-200: #E9EDCF;
  --brand-300: #dfe6af;
  --brand-400: #CCD77F;
  --brand-500: #BBCA54;
  --brand-600: #AABB3A;
  --brand-700: #8E9B31;
  --brand-800: #727C27;
  --brand-900: #535B20;
  --brand-950: #343914;
  --brand: #dfe6af;
  --brand-ink: #000000;
}

Colors that work with #dfe6af

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#E6ECC1
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#2D3A9F
Second voice, not a rival
Dark variant#59611E
Hover, pressed, headers
Light variant#F7F9EC
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 #dfe6af

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#B6AFE6
Analogous left#E6D1AF
Analogous right#C3E6AF
Split-complement 1#AFC3E6
Split-complement 2#D1AFE6
Triadic 1#AFDFE6
Triadic 2#E6AFDF
Tetradic#AFE6D1

RGB percentages

Red87.5%
Green90.2%
Blue68.6%

CMYK percentages

Cyan3.0%
Magenta0.0%
Yellow23.9%
Key (black)9.8%

Color previews

#dfe6af text on a black background

contrast 16.08:1

Card sample

#dfe6af text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe6af

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.

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

#dfe6af, answered

What color is #dfe6af?

#dfe6af is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 4.3). It sits at 68° on the hue wheel with 52% saturation and 79% lightness, which reads as warm.

What is the RGB value of #dfe6af?

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

Is #dfe6af a light or a dark color?

It is a light color. Relative luminance is 0.7538 and perceived brightness is 87%, so black text on it reaches 16.08:1.

Should I use black or white text on #dfe6af?

Black. It scores 16.08:1 against #dfe6af, versus 1.31:1 for white — AAA at any size.

What is the complementary color of #dfe6af?

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

What colors go well with #dfe6af?

For interface work: #FAFAF4 as the surface, #E6ECC1 for borders, #919B4B for secondary text, #2D3A9F as an accent and #59611E for hover and pressed states. For a palette, the analogous pair #E6D1AF and #C3E6AF stays calm, while #B6AFE6 is the loudest partner.

What is #dfe6af in CMYK for printing?

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

Is #dfe6af warm or cool?

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

Work with #dfe6af in the Color Lab