Skip to content

#dffc6b

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

RGB
223, 252, 107
HSL
72°, 96%, 70%
CMYK
12, 0, 58, 1
Luminance
0.8637

At a glance

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

Hex
#dffc6b
Hue
72°
green
Saturation
96%
electric
Lightness
70%
light
Brightness
99%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8637
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.27:1
Closest name
Green Yellow
ΔE2000 7.7
Where it sits
Hue72° of 360°
Saturation96%
Lightness70%
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#dffc6b
RGBrgb(223, 252, 107)
HSLhsl(72, 96%, 70%)
CMYKcmyk(12%, 0%, 58%, 1%)
LABlab(94.5 -29.2 64.8)
LCHlch(94.5 71.1 114.3)
OKLCHoklch(0.942 0.172 119.3)
Decimal14679147
Display P3color(display-p3 0.875 0.988 0.420)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffc6b on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#dffc6b on black: 18.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEF5B
deuteranopia · #FFF074
tritanopia · #EAF0DD

Color scale — 50 to 950

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

#FBFDF1
#F7FCE4
#EFFAC1
#E7FD91
#dffc6b
#CFFB23
#C1F005
#A1C804
#81A003
#5E7307
#3B4804
Base = 400Lightest = 50 · #FBFDF1Darkest = 950 · #3B4804
:root {
  --brand-50: #FBFDF1;
  --brand-100: #F7FCE4;
  --brand-200: #EFFAC1;
  --brand-300: #E7FD91;
  --brand-400: #dffc6b;
  --brand-500: #CFFB23;
  --brand-600: #C1F005;
  --brand-700: #A1C804;
  --brand-800: #81A003;
  --brand-900: #5E7307;
  --brand-950: #3B4804;
  --brand: #dffc6b;
  --brand-ink: #000000;
}

Colors that work with #dffc6b

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#6870FF
Second voice, not a rival
Dark variant#647D03
Hover, pressed, headers
Light variant#FAFEE6
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 #dffc6b

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#886BFC
Analogous left#FCD16B
Analogous right#97FC6B
Split-complement 1#6B97FC
Split-complement 2#D16BFC
Triadic 1#6BDFFC
Triadic 2#FC6BDF
Tetradic#6BFCD1

RGB percentages

Red87.5%
Green98.8%
Blue42.0%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow57.5%
Key (black)1.2%

Color previews

#dffc6b text on a black background

contrast 18.27:1

Card sample

#dffc6b text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffc6b

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.

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

#dffc6b, answered

What color is #dffc6b?

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

What is the RGB value of #dffc6b?

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

Is #dffc6b a light or a dark color?

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

Should I use black or white text on #dffc6b?

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

What is the complementary color of #dffc6b?

#886BFC sits directly opposite on the wheel. Softer options are the split-complements #6B97FC and #D16BFC, which give the same contrast with far less vibration.

What colors go well with #dffc6b?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8B9B4B for secondary text, #6870FF as an accent and #647D03 for hover and pressed states. For a palette, the analogous pair #FCD16B and #97FC6B stays calm, while #886BFC is the loudest partner.

What is #dffc6b in CMYK for printing?

cmyk(12%, 0%, 58%, 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 #dffc6b 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 #FCE46B; nudged cooler, #AAFD6A.

Work with #dffc6b in the Color Lab