#8fd271
a balanced, vivid green · neutral · closest name: Light Green
At a glance
Every number on this page in one read: what #8fd271 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #8fd271 |
| RGB | rgb(143, 210, 113) |
| HSL | hsl(101, 52%, 63%) |
| CMYK | cmyk(32%, 0%, 46%, 18%) |
| LAB | lab(78.0 -38.7 41.3) |
| LCH | lch(78.0 56.6 133.1) |
| OKLCH | oklch(0.796 0.146 136.7) |
| Decimal | 9425521 |
| Display P3 | color(display-p3 0.561 0.824 0.443) |
Copy-ready code
/* CSS */
color: #8fd271;
background-color: #8fd271;
/* Tailwind (arbitrary) */
class="text-[#8fd271] bg-[#8fd271]"
/* SCSS */
$brand: #8fd271;
/* SwiftUI */
Color(red: 0.561, green: 0.824, blue: 0.443)
/* Android */
Color.parseColor("#8fd271")
/* Flutter */
Color(0xFF8FD271)
/* Python / OpenCV (BGR) */
(113, 210, 143)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #8fd271 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.
:root {
--brand-50: #F6FAF4;
--brand-100: #EDF6EA;
--brand-200: #D8EDCF;
--brand-300: #BCE4AA;
--brand-400: #8fd271;
--brand-500: #79C955;
--brand-600: #62BA3B;
--brand-700: #529B31;
--brand-800: #427C27;
--brand-900: #325A20;
--brand-950: #1F3914;
--brand: #8fd271;
--brand-ink: #000000;
}Colors that work with #8fd271
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #8fd271
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #B471D2 | Directly opposite — maximum tension | |
| Analogous left | #C0D271 | Neighbour, quieter | |
| Analogous right | #71D283 | Neighbour, quieter | |
| Split-complement 1 | #8371D2 | Contrast without the clash | |
| Split-complement 2 | #D271C0 | Contrast without the clash | |
| Triadic 1 | #718FD2 | Even thirds — balanced and loud | |
| Triadic 2 | #D2718F | Even thirds — balanced and loud | |
| Tetradic | #71C0D2 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#8fd271 text on a black background
contrast 11.63:1
#8fd271 text on a white background
contrast 1.81:1
CSS3 live lab
The quick brown fox
color: #8fd271;
background-color: #8fd271;
Glowing headline
text-shadow: 2px 2px 8px #8fd271;
Soft neon halo
text-shadow: 0 0 14px rgba(143, 210, 113, 0.45);
box-shadow: 0 12px 32px -8px rgba(143, 210, 113, 0.45);
border: 3px solid #8fd271; background: linear-gradient(135deg, #8fd271, #71D293);
Monochromatic scale
Palettes built from #8fd271
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.
Closest color with a full write-up: Pistachio (#93c572) — ΔE2000 3.8 away, with its history, psychology and brand usage.
#8fd271 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#8fd271, answered
What color is #8fd271?
#8fd271 is a balanced vivid green, closest to Light Green (ΔE2000 7). It sits at 101° on the hue wheel with 52% saturation and 63% lightness, which reads as neutral.
What is the RGB value of #8fd271?
rgb(143, 210, 113) — 143 red, 210 green and 113 blue out of 255, or 56.1% / 82.4% / 44.3% by channel.
Is #8fd271 a light or a dark color?
It is a light color. Relative luminance is 0.5313 and perceived brightness is 72%, so black text on it reaches 11.63:1.
Should I use black or white text on #8fd271?
Black. It scores 11.63:1 against #8fd271, versus 1.81:1 for white — AAA at any size.
What is the complementary color of #8fd271?
#B471D2 sits directly opposite on the wheel. Softer options are the split-complements #8371D2 and #D271C0, which give the same contrast with far less vibration.
What colors go well with #8fd271?
For interface work: #F6FAF4 as the surface, #CEEBC1 for borders, #639B4B for secondary text, #9B6DD6 as an accent and #33611F for hover and pressed states. For a palette, the analogous pair #C0D271 and #71D283 stays calm, while #B471D2 is the loudest partner.
What is #8fd271 in CMYK for printing?
cmyk(32%, 0%, 46%, 18%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #8fd271 warm or cool?
Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B3D271; nudged cooler, #6FD475.