Skip to content

#dffc9a

a light, electric green · warm · closest name: Khaki

RGB
223, 252, 154
HSL
78°, 94%, 80%
CMYK
12, 0, 39, 1
Luminance
0.8764

At a glance

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

Hex
#dffc9a
Hue
78°
green
Saturation
94%
electric
Lightness
80%
light
Brightness
99%
HSV value
Perceived
92%
weighted brightness
Luminance
0.8764
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.53:1
Closest name
Khaki
ΔE2000 9.7
Where it sits
Hue78° of 360°
Saturation94%
Lightness80%
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#dffc9a
RGBrgb(223, 252, 154)
HSLhsl(78, 94%, 80%)
CMYKcmyk(12%, 0%, 39%, 1%)
LABlab(95.0 -24.7 43.8)
LCHlch(95.0 50.3 119.4)
OKLCHoklch(0.948 0.127 122.3)
Decimal14679194
Display P3color(display-p3 0.875 0.988 0.604)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffc9a on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#dffc9a on black: 18.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF193
deuteranopia · #FFF19F
tritanopia · #E6F3E4

Color scale — 50 to 950

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

#FAFDF2
#F4FBE4
#E9FAC2
#dffc9a
#CBFA5C
#BAF825
#A9EE07
#8DC606
#719E05
#537208
#344705
Base = 300Lightest = 50 · #FAFDF2Darkest = 950 · #344705
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F4FBE4;
  --brand-200: #E9FAC2;
  --brand-300: #dffc9a;
  --brand-400: #CBFA5C;
  --brand-500: #BAF825;
  --brand-600: #A9EE07;
  --brand-700: #8DC606;
  --brand-800: #719E05;
  --brand-900: #537208;
  --brand-950: #344705;
  --brand: #dffc9a;
  --brand-ink: #000000;
}

Colors that work with #dffc9a

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#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#0C02CA
Second voice, not a rival
Dark variant#587C04
Hover, pressed, headers
Light variant#F7FEE6
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 #dffc9a

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#B79AFC
Analogous left#FCE89A
Analogous right#AEFC9A
Split-complement 1#9AAEFC
Split-complement 2#E89AFC
Triadic 1#9ADFFC
Triadic 2#FC9ADF
Tetradic#9AFCE8

RGB percentages

Red87.5%
Green98.8%
Blue60.4%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow38.9%
Key (black)1.2%

Color previews

#dffc9a text on a black background

contrast 18.53:1

Card sample

#dffc9a text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 252, 154, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 252, 154, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dffc9a;
background: linear-gradient(135deg, #dffc9a, #9EFC9A);

Monochromatic scale

Palettes built from #dffc9a

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.

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

#dffc9a, answered

What color is #dffc9a?

#dffc9a is a light electric green, closest to Khaki (ΔE2000 9.7). It sits at 78° on the hue wheel with 94% saturation and 80% lightness, which reads as warm.

What is the RGB value of #dffc9a?

rgb(223, 252, 154) — 223 red, 252 green and 154 blue out of 255, or 87.5% / 98.8% / 60.4% by channel.

Is #dffc9a a light or a dark color?

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

Should I use black or white text on #dffc9a?

Black. It scores 18.53:1 against #dffc9a, versus 1.13:1 for white — AAA at any size.

What is the complementary color of #dffc9a?

#B79AFC sits directly opposite on the wheel. Softer options are the split-complements #9AAEFC and #E89AFC, which give the same contrast with far less vibration.

What colors go well with #dffc9a?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #0C02CA as an accent and #587C04 for hover and pressed states. For a palette, the analogous pair #FCE89A and #AEFC9A stays calm, while #B79AFC is the loudest partner.

What is #dffc9a in CMYK for printing?

cmyk(12%, 0%, 39%, 1%). 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 #dffc9a 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 #FCF59A; nudged cooler, #BBFD99.

Work with #dffc9a in the Color Lab