Skip to content

#d8ff39

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

RGB
216, 255, 57
HSL
72°, 100%, 61%
CMYK
15, 0, 78, 0
Luminance
0.8641

At a glance

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

Hex
#d8ff39
Hue
72°
green
Saturation
100%
electric
Lightness
61%
balanced
Brightness
100%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8641
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
18.28:1
Closest name
Green Yellow
ΔE2000 6.3
Where it sits
Hue72° of 360°
Saturation100%
Lightness61%
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#d8ff39
RGBrgb(216, 255, 57)
HSLhsl(72, 100%, 61%)
CMYKcmyk(15%, 0%, 78%, 0%)
LABlab(94.5 -36.1 82.5)
LCHlch(94.5 90.1 113.7)
OKLCHoklch(0.940 0.210 120.8)
Decimal14221113
Display P3color(display-p3 0.847 1.000 0.224)

Copy-ready code

/* CSS */
color: #d8ff39;
background-color: #d8ff39;
/* Tailwind (arbitrary) */
class="text-[#d8ff39] bg-[#d8ff39]"
/* SCSS */
$brand: #d8ff39;
/* SwiftUI */
Color(red: 0.847, green: 1.000, blue: 0.224)
/* Android */
Color.parseColor("#d8ff39")
/* Flutter */
Color(0xFFD8FF39)
/* Python / OpenCV (BGR) */
(57, 255, 216)

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

Accessibility — WCAG contrast

Aa
#d8ff39 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d8ff39 on black: 18.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF000
deuteranopia · #FFEF4D
tritanopia · #E4F1DB

Color scale — 50 to 950

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

#FBFEF1
#F7FCE3
#F0FCC0
#E9FF8F
#DEFF57
#d8ff39
#C5F500
#A4CC00
#83A300
#5F7605
#3C4903
Base = 500Lightest = 50 · #FBFEF1Darkest = 950 · #3C4903
:root {
  --brand-50: #FBFEF1;
  --brand-100: #F7FCE3;
  --brand-200: #F0FCC0;
  --brand-300: #E9FF8F;
  --brand-400: #DEFF57;
  --brand-500: #d8ff39;
  --brand-600: #C5F500;
  --brand-700: #A4CC00;
  --brand-800: #83A300;
  --brand-900: #5F7605;
  --brand-950: #3C4903;
  --brand: #d8ff39;
  --brand-ink: #000000;
}

Colors that work with #d8ff39

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#3944FF
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 #d8ff39

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
  • 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
  • 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#6039FF
Analogous left#FFC339
Analogous right#75FF39
Split-complement 1#3975FF
Split-complement 2#C339FF
Triadic 1#39D8FF
Triadic 2#FF39D8
Tetradic#39FFC3

RGB percentages

Red84.7%
Green100.0%
Blue22.4%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow77.6%
Key (black)0.0%

Color previews

#d8ff39 text on a black background

contrast 18.28:1

Card sample

#d8ff39 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 255, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 255, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8ff39;
background: linear-gradient(135deg, #d8ff39, #54FF39);

Monochromatic scale

Palettes built from #d8ff39

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.

#d8ff39 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
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d8ff39, answered

What color is #d8ff39?

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

What is the RGB value of #d8ff39?

rgb(216, 255, 57) — 216 red, 255 green and 57 blue out of 255, or 84.7% / 100% / 22.4% by channel.

Is #d8ff39 a light or a dark color?

It is a light color. Relative luminance is 0.8641 and perceived brightness is 90%, so black text on it reaches 18.28:1.

Should I use black or white text on #d8ff39?

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

What is the complementary color of #d8ff39?

#6039FF sits directly opposite on the wheel. Softer options are the split-complements #3975FF and #C339FF, which give the same contrast with far less vibration.

What colors go well with #d8ff39?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8B9B4B for secondary text, #3944FF as an accent and #668000 for hover and pressed states. For a palette, the analogous pair #FFC339 and #75FF39 stays calm, while #6039FF is the loudest partner.

What is #d8ff39 in CMYK for printing?

cmyk(15%, 0%, 78%, 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 #d8ff39 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 #FFDD39; nudged cooler, #90FF39.

Work with #d8ff39 in the Color Lab