Skip to content

#dfe7cc

a pale, soft green · warm · closest name: Beige

RGB
223, 231, 204
HSL
78°, 36%, 85%
CMYK
4, 0, 12, 9
Luminance
0.7720

At a glance

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

Hex
#dfe7cc
Hue
78°
green
Saturation
36%
soft
Lightness
85%
pale
Brightness
91%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7720
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Soft
Best ink
Black
16.44:1
Closest name
Beige
ΔE2000 4.7
Where it sits
Hue78° of 360°
Saturation36%
Lightness85%
Temperature
Warm ← → Cool40% 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#dfe7cc
RGBrgb(223, 231, 204)
HSLhsl(78, 36%, 85%)
CMYKcmyk(4%, 0%, 12%, 9%)
LABlab(90.4 -7.3 12.2)
LCHlch(90.4 14.3 121.0)
OKLCHoklch(0.915 0.037 120.6)
Decimal14673868
Display P3color(display-p3 0.875 0.906 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe7cc on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#dfe7cc on black: 16.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EBE4CB
deuteranopia · #EAE4CD
tritanopia · #E2E4DF

Color scale — 50 to 950

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

#F8F9F5
#F1F4EB
#dfe7cc
#CFDBB3
#B7C98D
#9FB766
#8CA64E
#758B41
#5E6F34
#455129
#2B331A
Base = 200Lightest = 50 · #F8F9F5Darkest = 950 · #2B331A
:root {
  --brand-50: #F8F9F5;
  --brand-100: #F1F4EB;
  --brand-200: #dfe7cc;
  --brand-300: #CFDBB3;
  --brand-400: #B7C98D;
  --brand-500: #9FB766;
  --brand-600: #8CA64E;
  --brand-700: #758B41;
  --brand-800: #5E6F34;
  --brand-900: #455129;
  --brand-950: #2B331A;
  --brand: #dfe7cc;
  --brand-ink: #000000;
}

Colors that work with #dfe7cc

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#F8FAF5
Tinted page background
Border#DCE5C8
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#3F3D8F
Second voice, not a rival
Dark variant#495729
Hover, pressed, headers
Light variant#F4F7EE
Selected rows, tints
Dark surface#1F2414
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 #dfe7cc

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
  • 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#D4CCE7
Analogous left#E7E2CC
Analogous right#D2E7CC
Split-complement 1#CCD2E7
Split-complement 2#E2CCE7
Triadic 1#CCDFE7
Triadic 2#E7CCDF
Tetradic#CCE7E2

RGB percentages

Red87.5%
Green90.6%
Blue80.0%

CMYK percentages

Cyan3.5%
Magenta0.0%
Yellow11.7%
Key (black)9.4%

Color previews

#dfe7cc text on a black background

contrast 16.44:1

Card sample

#dfe7cc text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe7cc

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.

#dfe7cc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#dfe7cc, answered

What color is #dfe7cc?

#dfe7cc is a pale soft green, closest to Beige (ΔE2000 4.7). It sits at 78° on the hue wheel with 36% saturation and 85% lightness, which reads as warm.

What is the RGB value of #dfe7cc?

rgb(223, 231, 204) — 223 red, 231 green and 204 blue out of 255, or 87.5% / 90.6% / 80% by channel.

Is #dfe7cc a light or a dark color?

It is a light color. Relative luminance is 0.7720 and perceived brightness is 89%, so black text on it reaches 16.44:1.

Should I use black or white text on #dfe7cc?

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

What is the complementary color of #dfe7cc?

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

What colors go well with #dfe7cc?

For interface work: #F8FAF5 as the surface, #DCE5C8 for borders, #839B4B for secondary text, #3F3D8F as an accent and #495729 for hover and pressed states. For a palette, the analogous pair #E7E2CC and #D2E7CC stays calm, while #D4CCE7 is the loudest partner.

What is #dfe7cc in CMYK for printing?

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

Is #dfe7cc warm or cool?

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

Work with #dfe7cc in the Color Lab