#7afd45
a balanced, electric green · neutral · closest name: Lawn Green
At a glance
Every number on this page in one read: what #7afd45 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 | #7afd45 |
| RGB | rgb(122, 253, 69) |
| HSL | hsl(103, 98%, 63%) |
| CMYK | cmyk(52%, 0%, 73%, 1%) |
| LAB | lab(89.3 -66.5 72.3) |
| LCH | lch(89.3 98.2 132.6) |
| OKLCH | oklch(0.886 0.245 138.4) |
| Decimal | 8060229 |
| Display P3 | color(display-p3 0.478 0.992 0.271) |
Copy-ready code
/* CSS */
color: #7afd45;
background-color: #7afd45;
/* Tailwind (arbitrary) */
class="text-[#7afd45] bg-[#7afd45]"
/* SCSS */
$brand: #7afd45;
/* SwiftUI */
Color(red: 0.478, green: 0.992, blue: 0.271)
/* Android */
Color.parseColor("#7afd45")
/* Flutter */
Color(0xFF7AFD45)
/* Python / OpenCV (BGR) */
(69, 253, 122)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. #7afd45 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: #F5FDF1;
--brand-100: #EBFCE3;
--brand-200: #D2FBC1;
--brand-300: #B0FE90;
--brand-400: #7afd45;
--brand-500: #60FD21;
--brand-600: #48F203;
--brand-700: #3CCA02;
--brand-800: #30A102;
--brand-900: #267406;
--brand-950: #184904;
--brand: #7afd45;
--brand-ink: #000000;
}Colors that work with #7afd45
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 #7afd45
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 | #C845FD | Directly opposite — maximum tension | |
| Analogous left | #D6FD45 | Neighbour, quieter | |
| Analogous right | #45FD6C | Neighbour, quieter | |
| Split-complement 1 | #6C45FD | Contrast without the clash | |
| Split-complement 2 | #FD45D6 | Contrast without the clash | |
| Triadic 1 | #457AFD | Even thirds — balanced and loud | |
| Triadic 2 | #FD457A | Even thirds — balanced and loud | |
| Tetradic | #45D6FD | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#7afd45 text on a black background
contrast 15.96:1
#7afd45 text on a white background
contrast 1.32:1
CSS3 live lab
The quick brown fox
color: #7afd45;
background-color: #7afd45;
Glowing headline
text-shadow: 2px 2px 8px #7afd45;
Soft neon halo
text-shadow: 0 0 14px rgba(122, 253, 69, 0.45);
box-shadow: 0 12px 32px -8px rgba(122, 253, 69, 0.45);
border: 3px solid #7afd45; background: linear-gradient(135deg, #7afd45, #45FD8A);
Monochromatic scale
Palettes built from #7afd45
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.2 away, with its history, psychology and brand usage.
#7afd45 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.
#7afd45, answered
What color is #7afd45?
#7afd45 is a balanced electric green, closest to Lawn Green (ΔE2000 3). It sits at 103° on the hue wheel with 98% saturation and 63% lightness, which reads as neutral.
What is the RGB value of #7afd45?
rgb(122, 253, 69) — 122 red, 253 green and 69 blue out of 255, or 47.8% / 99.2% / 27.1% by channel.
Is #7afd45 a light or a dark color?
It is a light color. Relative luminance is 0.7482 and perceived brightness is 81%, so black text on it reaches 15.96:1.
Should I use black or white text on #7afd45?
Black. It scores 15.96:1 against #7afd45, versus 1.32:1 for white — AAA at any size.
What is the complementary color of #7afd45?
#C845FD sits directly opposite on the wheel. Softer options are the split-complements #6C45FD and #FD45D6, which give the same contrast with far less vibration.
What colors go well with #7afd45?
For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #629B4B for secondary text, #9A43FF as an accent and #257E01 for hover and pressed states. For a palette, the analogous pair #D6FD45 and #45FD6C stays calm, while #C845FD is the loudest partner.
What is #7afd45 in CMYK for printing?
cmyk(52%, 0%, 73%, 1%). 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 #7afd45 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 #BDFD45; nudged cooler, #43FF52.