Skip to content

#7fdf51

a balanced, vivid green · neutral · closest name: Lime Green

RGB
127, 223, 81
HSL
101°, 69%, 60%
CMYK
43, 0, 64, 13
Luminance
0.5788

At a glance

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

Hex
#7fdf51
Hue
101°
green
Saturation
69%
vivid
Lightness
60%
balanced
Brightness
87%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5788
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.58:1
Closest name
Lime Green
ΔE2000 7
Where it sits
Hue101° of 360°
Saturation69%
Lightness60%
Temperature
Warm ← → Cool54% 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#7fdf51
RGBrgb(127, 223, 81)
HSLhsl(101, 69%, 60%)
CMYKcmyk(43%, 0%, 64%, 13%)
LABlab(80.7 -52.9 58.9)
LCHlch(80.7 79.2 131.9)
OKLCHoklch(0.816 0.200 137.1)
Decimal8380241
Display P3color(display-p3 0.498 0.875 0.318)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fdf51 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#7fdf51 on black: 12.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E6CD3F
deuteranopia · #D9C55D
tritanopia · #7AD7C1

Color scale — 50 to 950

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

#F6FBF3
#EDF8E7
#D7F2CA
#B9EEA0
#96E571
#7fdf51
#5DCF26
#4DAC20
#3E8A19
#2F6416
#1E3E0E
Base = 500Lightest = 50 · #F6FBF3Darkest = 950 · #1E3E0E
:root {
  --brand-50: #F6FBF3;
  --brand-100: #EDF8E7;
  --brand-200: #D7F2CA;
  --brand-300: #B9EEA0;
  --brand-400: #96E571;
  --brand-500: #7fdf51;
  --brand-600: #5DCF26;
  --brand-700: #4DAC20;
  --brand-800: #3E8A19;
  --brand-900: #2F6416;
  --brand-950: #1E3E0E;
  --brand: #7fdf51;
  --brand-ink: #000000;
}

Colors that work with #7fdf51

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#F6FAF4
Tinted page background
Border#CEEDC0
Hairlines and dividers
Muted text#659B4B
Captions on the surface
Accent#8D4DE3
Second voice, not a rival
Dark variant#306C14
Hover, pressed, headers
Light variant#EFFBE9
Selected rows, tints
Dark surface#192414
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 #7fdf51

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#B151DF
Analogous left#C6DF51
Analogous right#51DF6A
Split-complement 1#6A51DF
Split-complement 2#DF51C6
Triadic 1#517FDF
Triadic 2#DF517F
Tetradic#51C6DF

RGB percentages

Red49.8%
Green87.5%
Blue31.8%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow63.7%
Key (black)12.5%

Color previews

#7fdf51 text on a black background

contrast 12.58:1

Card sample

#7fdf51 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7fdf51

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.

#7fdf51 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

Converts to four-color process without much drama. Proof it anyway.

#7fdf51, answered

What color is #7fdf51?

#7fdf51 is a balanced vivid green, closest to Lime Green (ΔE2000 7). It sits at 101° on the hue wheel with 69% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #7fdf51?

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

Is #7fdf51 a light or a dark color?

It is a light color. Relative luminance is 0.5788 and perceived brightness is 73%, so black text on it reaches 12.58:1.

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

Black. It scores 12.58:1 against #7fdf51, versus 1.67:1 for white — AAA at any size.

What is the complementary color of #7fdf51?

#B151DF sits directly opposite on the wheel. Softer options are the split-complements #6A51DF and #DF51C6, which give the same contrast with far less vibration.

What colors go well with #7fdf51?

For interface work: #F6FAF4 as the surface, #CEEDC0 for borders, #659B4B for secondary text, #8D4DE3 as an accent and #306C14 for hover and pressed states. For a palette, the analogous pair #C6DF51 and #51DF6A stays calm, while #B151DF is the loudest partner.

What is #7fdf51 in CMYK for printing?

cmyk(43%, 0%, 64%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #7fdf51 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B3DF51; nudged cooler, #4FE155.

Work with #7fdf51 in the Color Lab