Skip to content

#dafba7

a light, electric green · neutral · closest name: Pale Green

RGB
218, 251, 167
HSL
84°, 91%, 82%
CMYK
13, 0, 34, 2
Luminance
0.8669

At a glance

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

Hex
#dafba7
Hue
84°
green
Saturation
91%
electric
Lightness
82%
light
Brightness
98%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8669
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.34:1
Closest name
Pale Green
ΔE2000 9.8
Where it sits
Hue84° of 360°
Saturation91%
Lightness82%
Temperature
Warm ← → Cool45% 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#dafba7
RGBrgb(218, 251, 167)
HSLhsl(84, 91%, 82%)
CMYKcmyk(13%, 0%, 34%, 2%)
LABlab(94.6 -24.4 36.8)
LCHlch(94.6 44.2 123.5)
OKLCHoklch(0.945 0.113 125.9)
Decimal14351271
Display P3color(display-p3 0.855 0.984 0.655)

Copy-ready code

/* CSS */
color: #dafba7;
background-color: #dafba7;
/* Tailwind (arbitrary) */
class="text-[#dafba7] bg-[#dafba7]"
/* SCSS */
$brand: #dafba7;
/* SwiftUI */
Color(red: 0.855, green: 0.984, blue: 0.655)
/* Android */
Color.parseColor("#dafba7")
/* Flutter */
Color(0xFFDAFBA7)
/* Python / OpenCV (BGR) */
(167, 251, 218)

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 #dafba7 · 18.34:1
Use #000000AAA at every size.
Aa
White text · 1.15:1
AA fail · AA large fail · AAA fail
Aa
Black text · 18.34:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dafba7 as text scores 1.15:1 on white and 18.34:1 on black.

Accessibility — WCAG contrast

Aa
#dafba7 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#dafba7 on black: 18.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF1A1
deuteranopia · #FFEFAB
tritanopia · #DFF3E6

Color scale — 50 to 950

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

#F9FDF2
#F2FBE4
#E4F9C3
#dafba7
#BBF85E
#A5F528
#92EA0B
#7AC309
#619C07
#48710A
#2D4606
Base = 300Lightest = 50 · #F9FDF2Darkest = 950 · #2D4606
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F2FBE4;
  --brand-200: #E4F9C3;
  --brand-300: #dafba7;
  --brand-400: #BBF85E;
  --brand-500: #A5F528;
  --brand-600: #92EA0B;
  --brand-700: #7AC309;
  --brand-800: #619C07;
  --brand-900: #48710A;
  --brand-950: #2D4606;
  --brand: #dafba7;
  --brand-ink: #000000;
}

Colors that work with #dafba7

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#DBEDC0
Hairlines and dividers
Muted text#7B9B4B
Captions on the surface
Accent#2104C8
Second voice, not a rival
Dark variant#4C7A06
Hover, pressed, headers
Light variant#F5FEE7
Selected rows, tints
Dark surface#1E2414
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 #dafba7

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#C8A7FB
Analogous left#FBF2A7
Analogous right#B0FBA7
Split-complement 1#A7B0FB
Split-complement 2#F2A7FB
Triadic 1#A7DAFB
Triadic 2#FBA7DA
Tetradic#A7FBF2

RGB percentages

Red85.5%
Green98.4%
Blue65.5%

CMYK percentages

Cyan13.1%
Magenta0.0%
Yellow33.5%
Key (black)1.6%

Color previews

#dafba7 text on a black background

contrast 18.34:1

Card sample

#dafba7 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 251, 167, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 251, 167, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dafba7;
background: linear-gradient(135deg, #dafba7, #A7FBAC);

Monochromatic scale

Palettes built from #dafba7

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.

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

#dafba7, answered

What color is #dafba7?

#dafba7 is a light electric green, closest to Pale Green (ΔE2000 9.8). It sits at 84° on the hue wheel with 91% saturation and 82% lightness, which reads as neutral.

What is the RGB value of #dafba7?

rgb(218, 251, 167) — 218 red, 251 green and 167 blue out of 255, or 85.5% / 98.4% / 65.5% by channel.

Is #dafba7 a light or a dark color?

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

Should I use black or white text on #dafba7?

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

What is the complementary color of #dafba7?

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

What colors go well with #dafba7?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7B9B4B for secondary text, #2104C8 as an accent and #4C7A06 for hover and pressed states. For a palette, the analogous pair #FBF2A7 and #B0FBA7 stays calm, while #C8A7FB is the loudest partner.

What is #dafba7 in CMYK for printing?

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

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

Work with #dafba7 in the Color Lab