Skip to content

#dfe2c7

a light, soft yellow · warm · closest name: Beige

RGB
223, 226, 199
HSL
67°, 32%, 83%
CMYK
1, 0, 12, 11
Luminance
0.7420

At a glance

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

Hex
#dfe2c7
Hue
67°
yellow
Saturation
32%
soft
Lightness
83%
light
Brightness
89%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7420
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
15.84:1
Closest name
Beige
ΔE2000 4.5
Where it sits
Hue67° of 360°
Saturation32%
Lightness83%
Temperature
Warm ← → Cool32% 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#dfe2c7
RGBrgb(223, 226, 199)
HSLhsl(67, 32%, 83%)
CMYKcmyk(1%, 0%, 12%, 11%)
LABlab(89.0 -5.6 12.9)
LCHlch(89.0 14.0 113.6)
OKLCHoklch(0.903 0.036 112.3)
Decimal14672583
Display P3color(display-p3 0.875 0.886 0.780)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe2c7 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#dfe2c7 on black: 15.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7DFC5
deuteranopia · #E7E0C8
tritanopia · #E3DFDA

Color scale — 50 to 950

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

#F9F9F5
#F3F3EC
#dfe2c7
#D5D9B5
#C0C690
#ABB26B
#99A153
#7F8646
#666C38
#4B4F2B
#2F311B
Base = 200Lightest = 50 · #F9F9F5Darkest = 950 · #2F311B
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F3F3EC;
  --brand-200: #dfe2c7;
  --brand-300: #D5D9B5;
  --brand-400: #C0C690;
  --brand-500: #ABB26B;
  --brand-600: #99A153;
  --brand-700: #7F8646;
  --brand-800: #666C38;
  --brand-900: #4B4F2B;
  --brand-950: #2F311B;
  --brand: #dfe2c7;
  --brand-ink: #000000;
}

Colors that work with #dfe2c7

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#F9FAF5
Tinted page background
Border#E0E3C9
Hairlines and dividers
Muted text#8F974E
Captions on the surface
Accent#414A8B
Second voice, not a rival
Dark variant#4F542B
Hover, pressed, headers
Light variant#F5F6EE
Selected rows, tints
Dark surface#232414
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 #dfe2c7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#CAC7E2
Analogous left#E2D7C7
Analogous right#D1E2C7
Split-complement 1#C7D1E2
Split-complement 2#D7C7E2
Triadic 1#C7DFE2
Triadic 2#E2C7DF
Tetradic#C7E2D7

RGB percentages

Red87.5%
Green88.6%
Blue78.0%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow11.9%
Key (black)11.4%

Color previews

#dfe2c7 text on a black background

contrast 15.84:1

Card sample

#dfe2c7 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe2c7

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.

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

#dfe2c7, answered

What color is #dfe2c7?

#dfe2c7 is a light soft yellow, closest to Beige (ΔE2000 4.5). It sits at 67° on the hue wheel with 32% saturation and 83% lightness, which reads as warm.

What is the RGB value of #dfe2c7?

rgb(223, 226, 199) — 223 red, 226 green and 199 blue out of 255, or 87.5% / 88.6% / 78% by channel.

Is #dfe2c7 a light or a dark color?

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

Should I use black or white text on #dfe2c7?

Black. It scores 15.84:1 against #dfe2c7, versus 1.33:1 for white — AAA at any size.

What is the complementary color of #dfe2c7?

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

What colors go well with #dfe2c7?

For interface work: #F9FAF5 as the surface, #E0E3C9 for borders, #8F974E for secondary text, #414A8B as an accent and #4F542B for hover and pressed states. For a palette, the analogous pair #E2D7C7 and #D1E2C7 stays calm, while #CAC7E2 is the loudest partner.

What is #dfe2c7 in CMYK for printing?

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

Is #dfe2c7 warm or cool?

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

Work with #dfe2c7 in the Color Lab