#97ff4f
a light, electric green · neutral · closest name: Chartreuse
At a glance
Every number on this page in one read: what #97ff4f 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 | #97ff4f |
| RGB | rgb(151, 255, 79) |
| HSL | hsl(96, 100%, 66%) |
| CMYK | cmyk(41%, 0%, 69%, 0%) |
| LAB | lab(91.1 -58.1 71.0) |
| LCH | lch(91.1 91.8 129.3) |
| OKLCH | oklch(0.904 0.228 135.2) |
| Decimal | 9961295 |
| Display P3 | color(display-p3 0.592 1.000 0.310) |
Copy-ready code
/* CSS */
color: #97ff4f;
background-color: #97ff4f;
/* Tailwind (arbitrary) */
class="text-[#97ff4f] bg-[#97ff4f]"
/* SCSS */
$brand: #97ff4f;
/* SwiftUI */
Color(red: 0.592, green: 1.000, blue: 0.310)
/* Android */
Color.parseColor("#97ff4f")
/* Flutter */
Color(0xFF97FF4F)
/* Python / OpenCV (BGR) */
(79, 255, 151)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. #97ff4f 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: #F6FEF1;
--brand-100: #EDFCE3;
--brand-200: #D8FCC0;
--brand-300: #BDFF8F;
--brand-400: #97ff4f;
--brand-500: #7AFF1F;
--brand-600: #64F500;
--brand-700: #53CC00;
--brand-800: #43A300;
--brand-900: #337605;
--brand-950: #204903;
--brand: #97ff4f;
--brand-ink: #000000;
}Colors that work with #97ff4f
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 #97ff4f
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
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White 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 | #B74FFF | Directly opposite — maximum tension | |
| Analogous left | #EFFF4F | Neighbour, quieter | |
| Analogous right | #4FFF5F | Neighbour, quieter | |
| Split-complement 1 | #5F4FFF | Contrast without the clash | |
| Split-complement 2 | #FF4FEF | Contrast without the clash | |
| Triadic 1 | #4F97FF | Even thirds — balanced and loud | |
| Triadic 2 | #FF4F97 | Even thirds — balanced and loud | |
| Tetradic | #4FEFFF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#97ff4f text on a black background
contrast 16.73:1
#97ff4f text on a white background
contrast 1.26:1
CSS3 live lab
The quick brown fox
color: #97ff4f;
background-color: #97ff4f;
Glowing headline
text-shadow: 2px 2px 8px #97ff4f;
Soft neon halo
text-shadow: 0 0 14px rgba(151, 255, 79, 0.45);
box-shadow: 0 12px 32px -8px rgba(151, 255, 79, 0.45);
border: 3px solid #97ff4f; background: linear-gradient(135deg, #97ff4f, #4FFF7D);
Monochromatic scale
Palettes built from #97ff4f
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: Chartreuse (#7fff00) — ΔE2000 3.3 away, with its history, psychology and brand usage.
#97ff4f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#97ff4f, answered
What color is #97ff4f?
#97ff4f is a light electric green, closest to Chartreuse (ΔE2000 3.3). It sits at 96° on the hue wheel with 100% saturation and 66% lightness, which reads as neutral.
What is the RGB value of #97ff4f?
rgb(151, 255, 79) — 151 red, 255 green and 79 blue out of 255, or 59.2% / 100% / 31% by channel.
Is #97ff4f a light or a dark color?
It is a light color. Relative luminance is 0.7866 and perceived brightness is 84%, so black text on it reaches 16.73:1.
Should I use black or white text on #97ff4f?
Black. It scores 16.73:1 against #97ff4f, versus 1.26:1 for white — AAA at any size.
What is the complementary color of #97ff4f?
#B74FFF sits directly opposite on the wheel. Softer options are the split-complements #5F4FFF and #FF4FEF, which give the same contrast with far less vibration.
What colors go well with #97ff4f?
For interface work: #F7FAF4 as the surface, #D2EDC0 for borders, #6B9B4B for secondary text, #8B4FFF as an accent and #348000 for hover and pressed states. For a palette, the analogous pair #EFFF4F and #4FFF5F stays calm, while #B74FFF is the loudest partner.
What is #97ff4f in CMYK for printing?
cmyk(41%, 0%, 69%, 0%). 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 #97ff4f warm or cool?
Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D7FF4F; nudged cooler, #56FF4F.