Skip to content

#7fd708

a dark, electric green · neutral · closest name: Yellow Green

RGB
127, 215, 8
HSL
86°, 93%, 44%
CMYK
41, 0, 96, 16
Luminance
0.5313

At a glance

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

Hex
#7fd708
Hue
86°
green
Saturation
93%
electric
Lightness
44%
dark
Brightness
84%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5313
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.63:1
Closest name
Yellow Green
ΔE2000 4.7
Where it sits
Hue86° of 360°
Saturation93%
Lightness44%
Temperature
Warm ← → Cool46% 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#7fd708
RGBrgb(127, 215, 8)
HSLhsl(86, 93%, 44%)
CMYKcmyk(41%, 0%, 96%, 16%)
LABlab(78.0 -53.2 75.7)
LCHlch(78.0 92.5 125.1)
OKLCHoklch(0.792 0.222 132.9)
Decimal8378120
Display P3color(display-p3 0.498 0.843 0.031)

Copy-ready code

/* CSS */
color: #7fd708;
background-color: #7fd708;
/* Tailwind (arbitrary) */
class="text-[#7fd708] bg-[#7fd708]"
/* SCSS */
$brand: #7fd708;
/* SwiftUI */
Color(red: 0.498, green: 0.843, blue: 0.031)
/* Android */
Color.parseColor("#7fd708")
/* Flutter */
Color(0xFF7FD708)
/* Python / OpenCV (BGR) */
(8, 215, 127)

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

Accessibility — WCAG contrast

Aa
#7fd708 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#7fd708 on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0C500
deuteranopia · #D5BE30
tritanopia · #7FCEB7

Color scale — 50 to 950

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

#F8FDF2
#F1FBE4
#E2F9C2
#CFFB93
#B7F95D
#9EF727
#8BEC09
#7fd708
#5D9D06
#457109
#2B4706
Base = 700Lightest = 50 · #F8FDF2Darkest = 950 · #2B4706
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F1FBE4;
  --brand-200: #E2F9C2;
  --brand-300: #CFFB93;
  --brand-400: #B7F95D;
  --brand-500: #9EF727;
  --brand-600: #8BEC09;
  --brand-700: #7fd708;
  --brand-800: #5D9D06;
  --brand-900: #457109;
  --brand-950: #2B4706;
  --brand: #7fd708;
  --brand-ink: #000000;
}

Colors that work with #7fd708

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#DAEDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#2904DB
Second voice, not a rival
Dark variant#497B05
Hover, pressed, headers
Light variant#F4FEE6
Selected rows, tints
Dark surface#1D2414
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 #7fd708

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black 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#6008D7
Analogous left#D7C708
Analogous right#18D708
Split-complement 1#0818D7
Split-complement 2#C708D7
Triadic 1#087FD7
Triadic 2#D7087F
Tetradic#08D7C7

RGB percentages

Red49.8%
Green84.3%
Blue3.1%

CMYK percentages

Cyan40.9%
Magenta0.0%
Yellow96.3%
Key (black)15.7%

Color previews

#7fd708 text on a black background

contrast 11.63:1

Card sample

#7fd708 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 215, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 215, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fd708;
background: linear-gradient(135deg, #7fd708, #08D71B);

Monochromatic scale

Palettes built from #7fd708

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.

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

#7fd708, answered

What color is #7fd708?

#7fd708 is a dark electric green, closest to Yellow Green (ΔE2000 4.7). It sits at 86° on the hue wheel with 93% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #7fd708?

rgb(127, 215, 8) — 127 red, 215 green and 8 blue out of 255, or 49.8% / 84.3% / 3.1% by channel.

Is #7fd708 a light or a dark color?

It is a light color. Relative luminance is 0.5313 and perceived brightness is 70%, so black text on it reaches 11.63:1.

Should I use black or white text on #7fd708?

Black. It scores 11.63:1 against #7fd708, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #7fd708?

#6008D7 sits directly opposite on the wheel. Softer options are the split-complements #0818D7 and #C708D7, which give the same contrast with far less vibration.

What colors go well with #7fd708?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #2904DB as an accent and #497B05 for hover and pressed states. For a palette, the analogous pair #D7C708 and #18D708 stays calm, while #6008D7 is the loudest partner.

What is #7fd708 in CMYK for printing?

cmyk(41%, 0%, 96%, 16%). 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 #7fd708 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CBD708; nudged cooler, #32D906.

Work with #7fd708 in the Color Lab