Skip to content

#dff7c2

a pale, electric green · neutral · closest name: Light Goldenrod Yellow

RGB
223, 247, 194
HSL
87°, 77%, 87%
CMYK
10, 0, 22, 3
Luminance
0.8610

At a glance

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

Hex
#dff7c2
Hue
87°
green
Saturation
77%
electric
Lightness
87%
pale
Brightness
97%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8610
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.22:1
Closest name
Light Goldenrod Yellow
ΔE2000 7.6
Where it sits
Hue87° of 360°
Saturation77%
Lightness87%
Temperature
Warm ← → Cool48% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#dff7c2
RGBrgb(223, 247, 194)
HSLhsl(87, 77%, 87%)
CMYKcmyk(10%, 0%, 22%, 3%)
LABlab(94.4 -16.9 22.9)
LCHlch(94.4 28.5 126.4)
OKLCHoklch(0.945 0.074 127.6)
Decimal14677954
Display P3color(display-p3 0.875 0.969 0.761)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff7c2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#dff7c2 on black: 18.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDF0BF
deuteranopia · #F9EEC4
tritanopia · #E2F2E8

Color scale — 50 to 950

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

#F8FCF3
#F1F9E7
#dff7c2
#CBF29C
#B1EB6A
#97E539
#83D81C
#6DB418
#579013
#416812
#29410B
Base = 200Lightest = 50 · #F8FCF3Darkest = 950 · #29410B
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F1F9E7;
  --brand-200: #dff7c2;
  --brand-300: #CBF29C;
  --brand-400: #B1EB6A;
  --brand-500: #97E539;
  --brand-600: #83D81C;
  --brand-700: #6DB418;
  --brand-800: #579013;
  --brand-900: #416812;
  --brand-950: #29410B;
  --brand: #dff7c2;
  --brand-ink: #000000;
}

Colors that work with #dff7c2

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#F8FAF4
Tinted page background
Border#D8EDC0
Hairlines and dividers
Muted text#769B4B
Captions on the surface
Accent#3515B7
Second voice, not a rival
Dark variant#44710F
Hover, pressed, headers
Light variant#F3FCE8
Selected rows, tints
Dark surface#1D2414
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 #dff7c2

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
  • 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#DAC2F7
Analogous left#F7F5C2
Analogous right#C5F7C2
Split-complement 1#C2C5F7
Split-complement 2#F5C2F7
Triadic 1#C2DFF7
Triadic 2#F7C2DF
Tetradic#C2F7F5

RGB percentages

Red87.5%
Green96.9%
Blue76.1%

CMYK percentages

Cyan9.7%
Magenta0.0%
Yellow21.5%
Key (black)3.1%

Color previews

#dff7c2 text on a black background

contrast 18.22:1

Card sample

#dff7c2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dff7c2

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#dff7c2, answered

What color is #dff7c2?

#dff7c2 is a pale electric green, closest to Light Goldenrod Yellow (ΔE2000 7.6). It sits at 87° on the hue wheel with 77% saturation and 87% lightness, which reads as neutral.

What is the RGB value of #dff7c2?

rgb(223, 247, 194) — 223 red, 247 green and 194 blue out of 255, or 87.5% / 96.9% / 76.1% by channel.

Is #dff7c2 a light or a dark color?

It is a light color. Relative luminance is 0.8610 and perceived brightness is 92%, so black text on it reaches 18.22:1.

Should I use black or white text on #dff7c2?

Black. It scores 18.22:1 against #dff7c2, versus 1.15:1 for white — AAA at any size.

What is the complementary color of #dff7c2?

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

What colors go well with #dff7c2?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #769B4B for secondary text, #3515B7 as an accent and #44710F for hover and pressed states. For a palette, the analogous pair #F7F5C2 and #C5F7C2 stays calm, while #DAC2F7 is the loudest partner.

What is #dff7c2 in CMYK for printing?

cmyk(10%, 0%, 22%, 3%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #dff7c2 warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F2F7C2; nudged cooler, #CBF8C1.

Work with #dff7c2 in the Color Lab