Skip to content

#dafd87

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

RGB
218, 253, 135
HSL
78°, 97%, 76%
CMYK
14, 0, 47, 1
Luminance
0.8691

At a glance

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

Hex
#dafd87
Hue
78°
green
Saturation
97%
electric
Lightness
76%
light
Brightness
99%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8691
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.38:1
Closest name
Green Yellow
ΔE2000 8.7
Where it sits
Hue78° of 360°
Saturation97%
Lightness76%
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#dafd87
RGBrgb(218, 253, 135)
HSLhsl(78, 97%, 76%)
CMYKcmyk(14%, 0%, 47%, 1%)
LABlab(94.7 -29.1 52.5)
LCHlch(94.7 60.0 119.0)
OKLCHoklch(0.944 0.150 122.9)
Decimal14351751
Display P3color(display-p3 0.855 0.992 0.529)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dafd87 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#dafd87 on black: 18.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF17D
deuteranopia · #FFF08E
tritanopia · #E2F3E1

Color scale — 50 to 950

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

#FAFDF1
#F5FCE4
#EAFBC1
#dafd87
#CCFC59
#BBFB22
#ABF104
#8EC903
#72A103
#537407
#344804
Base = 300Lightest = 50 · #FAFDF1Darkest = 950 · #344804
:root {
  --brand-50: #FAFDF1;
  --brand-100: #F5FCE4;
  --brand-200: #EAFBC1;
  --brand-300: #dafd87;
  --brand-400: #CCFC59;
  --brand-500: #BBFB22;
  --brand-600: #ABF104;
  --brand-700: #8EC903;
  --brand-800: #72A103;
  --brand-900: #537407;
  --brand-950: #344804;
  --brand: #dafd87;
  --brand-ink: #000000;
}

Colors that work with #dafd87

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#0A00CC
Second voice, not a rival
Dark variant#597D02
Hover, pressed, headers
Light variant#F7FFE6
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 #dafd87

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#AA87FD
Analogous left#FDE587
Analogous right#9FFD87
Split-complement 1#879FFD
Split-complement 2#E587FD
Triadic 1#87DAFD
Triadic 2#FD87DA
Tetradic#87FDE5

RGB percentages

Red85.5%
Green99.2%
Blue52.9%

CMYK percentages

Cyan13.8%
Magenta0.0%
Yellow46.6%
Key (black)0.8%

Color previews

#dafd87 text on a black background

contrast 18.38:1

Card sample

#dafd87 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafd87

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.

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

#dafd87, answered

What color is #dafd87?

#dafd87 is a light electric green, closest to Green Yellow (ΔE2000 8.7). It sits at 78° on the hue wheel with 97% saturation and 76% lightness, which reads as warm.

What is the RGB value of #dafd87?

rgb(218, 253, 135) — 218 red, 253 green and 135 blue out of 255, or 85.5% / 99.2% / 52.9% by channel.

Is #dafd87 a light or a dark color?

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

Should I use black or white text on #dafd87?

Black. It scores 18.38:1 against #dafd87, versus 1.14:1 for white — AAA at any size.

What is the complementary color of #dafd87?

#AA87FD sits directly opposite on the wheel. Softer options are the split-complements #879FFD and #E587FD, which give the same contrast with far less vibration.

What colors go well with #dafd87?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #0A00CC as an accent and #597D02 for hover and pressed states. For a palette, the analogous pair #FDE587 and #9FFD87 stays calm, while #AA87FD is the loudest partner.

What is #dafd87 in CMYK for printing?

cmyk(14%, 0%, 47%, 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 #dafd87 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 #FDF587; nudged cooler, #AEFE86.

Work with #dafd87 in the Color Lab