Skip to content

#dfff5f

a light, electric green · warm · closest name: Green Yellow

RGB
223, 255, 95
HSL
72°, 100%, 69%
CMYK
13, 0, 63, 0
Luminance
0.8803

At a glance

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

Hex
#dfff5f
Hue
72°
green
Saturation
100%
electric
Lightness
69%
light
Brightness
100%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8803
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.61:1
Closest name
Green Yellow
ΔE2000 7.1
Where it sits
Hue72° of 360°
Saturation100%
Lightness69%
Temperature
Warm ← → Cool35% 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#dfff5f
RGBrgb(223, 255, 95)
HSLhsl(72, 100%, 69%)
CMYKcmyk(13%, 0%, 63%, 0%)
LABlab(95.2 -31.4 70.5)
LCHlch(95.2 77.2 114.0)
OKLCHoklch(0.948 0.185 119.7)
Decimal14679903
Display P3color(display-p3 0.875 1.000 0.373)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfff5f on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#dfff5f on black: 18.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF14A
deuteranopia · #FFF26A
tritanopia · #EBF2DE

Color scale — 50 to 950

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

#FBFEF1
#F7FCE3
#F0FCC0
#E9FF8F
#dfff5f
#D2FF1F
#C4F500
#A3CC00
#83A300
#5F7605
#3B4903
Base = 400Lightest = 50 · #FBFEF1Darkest = 950 · #3B4903
:root {
  --brand-50: #FBFEF1;
  --brand-100: #F7FCE3;
  --brand-200: #F0FCC0;
  --brand-300: #E9FF8F;
  --brand-400: #dfff5f;
  --brand-500: #D2FF1F;
  --brand-600: #C4F500;
  --brand-700: #A3CC00;
  --brand-800: #83A300;
  --brand-900: #5F7605;
  --brand-950: #3B4903;
  --brand: #dfff5f;
  --brand-ink: #000000;
}

Colors that work with #dfff5f

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#E4EDC0
Hairlines and dividers
Muted text#8B9B4B
Captions on the surface
Accent#5F67FF
Second voice, not a rival
Dark variant#668000
Hover, pressed, headers
Light variant#FAFFE5
Selected rows, tints
Dark surface#212414
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 #dfff5f

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#7F5FFF
Analogous left#FFCF5F
Analogous right#8FFF5F
Split-complement 1#5F8FFF
Split-complement 2#CF5FFF
Triadic 1#5FDFFF
Triadic 2#FF5FDF
Tetradic#5FFFCF

RGB percentages

Red87.5%
Green100.0%
Blue37.3%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow62.7%
Key (black)0.0%

Color previews

#dfff5f text on a black background

contrast 18.61:1

Card sample

#dfff5f text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 255, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 255, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfff5f;
background: linear-gradient(135deg, #dfff5f, #74FF5F);

Monochromatic scale

Palettes built from #dfff5f

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.

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

#dfff5f, answered

What color is #dfff5f?

#dfff5f is a light electric green, closest to Green Yellow (ΔE2000 7.1). It sits at 72° on the hue wheel with 100% saturation and 69% lightness, which reads as warm.

What is the RGB value of #dfff5f?

rgb(223, 255, 95) — 223 red, 255 green and 95 blue out of 255, or 87.5% / 100% / 37.3% by channel.

Is #dfff5f a light or a dark color?

It is a light color. Relative luminance is 0.8803 and perceived brightness is 91%, so black text on it reaches 18.61:1.

Should I use black or white text on #dfff5f?

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

What is the complementary color of #dfff5f?

#7F5FFF sits directly opposite on the wheel. Softer options are the split-complements #5F8FFF and #CF5FFF, which give the same contrast with far less vibration.

What colors go well with #dfff5f?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8B9B4B for secondary text, #5F67FF as an accent and #668000 for hover and pressed states. For a palette, the analogous pair #FFCF5F and #8FFF5F stays calm, while #7F5FFF is the loudest partner.

What is #dfff5f in CMYK for printing?

cmyk(13%, 0%, 63%, 0%). 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 #dfff5f warm or cool?

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

Work with #dfff5f in the Color Lab