Skip to content

#7fdf0a

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

RGB
127, 223, 10
HSL
87°, 91%, 46%
CMYK
43, 0, 96, 13
Luminance
0.5731

At a glance

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

Hex
#7fdf0a
Hue
87°
green
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
72%
weighted brightness
Luminance
0.5731
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.46:1
Closest name
Yellow Green
ΔE2000 6.1
Where it sits
Hue87° of 360°
Saturation91%
Lightness46%
Temperature
Warm ← → Cool48% 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#7fdf0a
RGBrgb(127, 223, 10)
HSLhsl(87, 91%, 46%)
CMYKcmyk(43%, 0%, 96%, 13%)
LABlab(80.3 -56.3 77.4)
LCHlch(80.3 95.7 126.0)
OKLCHoklch(0.812 0.230 133.7)
Decimal8380170
Display P3color(display-p3 0.498 0.875 0.039)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fdf0a on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#7fdf0a on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8CC00
deuteranopia · #DCC532
tritanopia · #7ED6BE

Color scale — 50 to 950

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

#F8FDF2
#F1FBE4
#E1F9C3
#CCFA94
#B3F85E
#99F528
#7fdf0a
#6FC309
#599C07
#42710A
#294606
Base = 600Lightest = 50 · #F8FDF2Darkest = 950 · #294606
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F1FBE4;
  --brand-200: #E1F9C3;
  --brand-300: #CCFA94;
  --brand-400: #B3F85E;
  --brand-500: #99F528;
  --brand-600: #7fdf0a;
  --brand-700: #6FC309;
  --brand-800: #599C07;
  --brand-900: #42710A;
  --brand-950: #294606;
  --brand: #7fdf0a;
  --brand-ink: #000000;
}

Colors that work with #7fdf0a

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#D8EDC0
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#3205E4
Second voice, not a rival
Dark variant#467A05
Hover, pressed, headers
Light variant#F3FEE7
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 #7fdf0a

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#6A0ADF
Analogous left#DFD40A
Analogous right#15DF0A
Split-complement 1#0A15DF
Split-complement 2#D40ADF
Triadic 1#0A7FDF
Triadic 2#DF0A7F
Tetradic#0ADFD4

RGB percentages

Red49.8%
Green87.5%
Blue3.9%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow95.5%
Key (black)12.5%

Color previews

#7fdf0a text on a black background

contrast 12.46:1

Card sample

#7fdf0a text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7fdf0a

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.

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

#7fdf0a, answered

What color is #7fdf0a?

#7fdf0a is a balanced electric green, closest to Yellow Green (ΔE2000 6.1). It sits at 87° on the hue wheel with 91% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #7fdf0a?

rgb(127, 223, 10) — 127 red, 223 green and 10 blue out of 255, or 49.8% / 87.5% / 3.9% by channel.

Is #7fdf0a a light or a dark color?

It is a light color. Relative luminance is 0.5731 and perceived brightness is 72%, so black text on it reaches 12.46:1.

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

Black. It scores 12.46:1 against #7fdf0a, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #7fdf0a?

#6A0ADF sits directly opposite on the wheel. Softer options are the split-complements #0A15DF and #D40ADF, which give the same contrast with far less vibration.

What colors go well with #7fdf0a?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #779B4B for secondary text, #3205E4 as an accent and #467A05 for hover and pressed states. For a palette, the analogous pair #DFD40A and #15DF0A stays calm, while #6A0ADF is the loudest partner.

What is #7fdf0a in CMYK for printing?

cmyk(43%, 0%, 96%, 13%). 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 #7fdf0a warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CDDF0A; nudged cooler, #30E108.

Work with #7fdf0a in the Color Lab