Skip to content

#7fd271

a balanced, vivid green · cool · closest name: Light Green

RGB
127, 210, 113
HSL
111°, 52%, 63%
CMYK
40, 0, 46, 18
Luminance
0.5180

At a glance

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

Hex
#7fd271
Hue
111°
green
Saturation
52%
vivid
Lightness
63%
balanced
Brightness
82%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5180
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.36:1
Closest name
Light Green
ΔE2000 6.6
Where it sits
Hue111° of 360°
Saturation52%
Lightness63%
Temperature
Warm ← → Cool59% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#7fd271
RGBrgb(127, 210, 113)
HSLhsl(111, 52%, 63%)
CMYKcmyk(40%, 0%, 46%, 18%)
LABlab(77.2 -43.9 40.2)
LCHlch(77.2 59.5 137.6)
OKLCHoklch(0.788 0.155 140.9)
Decimal8376945
Display P3color(display-p3 0.498 0.824 0.443)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fd271 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#7fd271 on black: 11.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7C369
deuteranopia · #CBBC77
tritanopia · #78CDBB

Color scale — 50 to 950

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

#F5FAF4
#EBF6EA
#D3EDCF
#B2E4AA
#7fd271
#65C955
#4DBA3B
#409B31
#347C27
#285A20
#193914
Base = 400Lightest = 50 · #F5FAF4Darkest = 950 · #193914
:root {
  --brand-50: #F5FAF4;
  --brand-100: #EBF6EA;
  --brand-200: #D3EDCF;
  --brand-300: #B2E4AA;
  --brand-400: #7fd271;
  --brand-500: #65C955;
  --brand-600: #4DBA3B;
  --brand-700: #409B31;
  --brand-800: #347C27;
  --brand-900: #285A20;
  --brand-950: #193914;
  --brand: #7fd271;
  --brand-ink: #000000;
}

Colors that work with #7fd271

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#F5FAF4
Tinted page background
Border#C7EBC1
Hairlines and dividers
Muted text#569B4B
Captions on the surface
Accent#AC6DD6
Second voice, not a rival
Dark variant#28611F
Hover, pressed, headers
Light variant#EEF9EC
Selected rows, tints
Dark surface#162414
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 #7fd271

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#C471D2
Analogous left#B0D271
Analogous right#71D293
Split-complement 1#9371D2
Split-complement 2#D271B0
Triadic 1#717FD2
Triadic 2#D2717F
Tetradic#71B0D2

RGB percentages

Red49.8%
Green82.4%
Blue44.3%

CMYK percentages

Cyan39.5%
Magenta0.0%
Yellow46.2%
Key (black)17.6%

Color previews

#7fd271 text on a black background

contrast 11.36:1

Card sample

#7fd271 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 210, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 210, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fd271;
background: linear-gradient(135deg, #7fd271, #71D2A4);

Monochromatic scale

Palettes built from #7fd271

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.

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

#7fd271, answered

What color is #7fd271?

#7fd271 is a balanced vivid green, closest to Light Green (ΔE2000 6.6). It sits at 111° on the hue wheel with 52% saturation and 63% lightness, which reads as cool.

What is the RGB value of #7fd271?

rgb(127, 210, 113) — 127 red, 210 green and 113 blue out of 255, or 49.8% / 82.4% / 44.3% by channel.

Is #7fd271 a light or a dark color?

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

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

Black. It scores 11.36:1 against #7fd271, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #7fd271?

#C471D2 sits directly opposite on the wheel. Softer options are the split-complements #9371D2 and #D271B0, which give the same contrast with far less vibration.

What colors go well with #7fd271?

For interface work: #F5FAF4 as the surface, #C7EBC1 for borders, #569B4B for secondary text, #AC6DD6 as an accent and #28611F for hover and pressed states. For a palette, the analogous pair #B0D271 and #71D293 stays calm, while #C471D2 is the loudest partner.

What is #7fd271 in CMYK for printing?

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

Is #7fd271 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A3D271; nudged cooler, #6FD485.

Work with #7fd271 in the Color Lab