Skip to content

#7aef1f

a balanced, electric green · neutral · closest name: Lawn Green

RGB
122, 239, 31
HSL
94°, 87%, 53%
CMYK
49, 0, 87, 6
Luminance
0.6597

At a glance

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

Hex
#7aef1f
Hue
94°
green
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6597
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.19:1
Closest name
Lawn Green
ΔE2000 2.9
Where it sits
Hue94° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool52% 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#7aef1f
RGBrgb(122, 239, 31)
HSLhsl(94, 87%, 53%)
CMYKcmyk(49%, 0%, 87%, 6%)
LABlab(85.0 -63.3 78.3)
LCHlch(85.0 100.7 128.9)
OKLCHoklch(0.850 0.245 136.1)
Decimal8056607
Display P3color(display-p3 0.478 0.937 0.122)

Copy-ready code

/* CSS */
color: #7aef1f;
background-color: #7aef1f;
/* Tailwind (arbitrary) */
class="text-[#7aef1f] bg-[#7aef1f]"
/* SCSS */
$brand: #7aef1f;
/* SwiftUI */
Color(red: 0.478, green: 0.937, blue: 0.122)
/* Android */
Color.parseColor("#7aef1f")
/* Flutter */
Color(0xFF7AEF1F)
/* Python / OpenCV (BGR) */
(31, 239, 122)

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 #7aef1f · 14.19:1
Use #000000AAA at every size.
Aa
White text · 1.48:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.19:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #7aef1f as text scores 1.48:1 on white and 14.19:1 on black.

Accessibility — WCAG contrast

Aa
#7aef1f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#7aef1f on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8DA00
deuteranopia · #E9D13E
tritanopia · #74E6CC

Color scale — 50 to 950

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

#F7FDF2
#EEFAE5
#DBF7C4
#C1F896
#A2F462
#7aef1f
#6DE510
#5BBE0E
#49980B
#376E0C
#224508
Base = 500Lightest = 50 · #F7FDF2Darkest = 950 · #224508
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EEFAE5;
  --brand-200: #DBF7C4;
  --brand-300: #C1F896;
  --brand-400: #A2F462;
  --brand-500: #7aef1f;
  --brand-600: #6DE510;
  --brand-700: #5BBE0E;
  --brand-800: #49980B;
  --brand-900: #376E0C;
  --brand-950: #224508;
  --brand: #7aef1f;
  --brand-ink: #000000;
}

Colors that work with #7aef1f

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#F7FAF4
Tinted page background
Border#D3EDC0
Hairlines and dividers
Muted text#6E9B4B
Captions on the surface
Accent#5E1AF4
Second voice, not a rival
Dark variant#397708
Hover, pressed, headers
Light variant#F1FDE7
Selected rows, tints
Dark surface#1B2414
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 #7aef1f

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#941FEF
Analogous left#E2EF1F
Analogous right#1FEF2C
Split-complement 1#2C1FEF
Split-complement 2#EF1FE2
Triadic 1#1F7AEF
Triadic 2#EF1F7A
Tetradic#1FE2EF

RGB percentages

Red47.8%
Green93.7%
Blue12.2%

CMYK percentages

Cyan49.0%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#7aef1f text on a black background

contrast 14.19:1

Card sample

#7aef1f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(122, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7aef1f;
background: linear-gradient(135deg, #7aef1f, #1FEF4F);

Monochromatic scale

Palettes built from #7aef1f

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#7aef1f, answered

What color is #7aef1f?

#7aef1f is a balanced electric green, closest to Lawn Green (ΔE2000 2.9). It sits at 94° on the hue wheel with 87% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #7aef1f?

rgb(122, 239, 31) — 122 red, 239 green and 31 blue out of 255, or 47.8% / 93.7% / 12.2% by channel.

Is #7aef1f a light or a dark color?

It is a light color. Relative luminance is 0.6597 and perceived brightness is 77%, so black text on it reaches 14.19:1.

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

Black. It scores 14.19:1 against #7aef1f, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #7aef1f?

#941FEF sits directly opposite on the wheel. Softer options are the split-complements #2C1FEF and #EF1FE2, which give the same contrast with far less vibration.

What colors go well with #7aef1f?

For interface work: #F7FAF4 as the surface, #D3EDC0 for borders, #6E9B4B for secondary text, #5E1AF4 as an accent and #397708 for hover and pressed states. For a palette, the analogous pair #E2EF1F and #1FEF2C stays calm, while #941FEF is the loudest partner.

What is #7aef1f in CMYK for printing?

cmyk(49%, 0%, 87%, 6%). 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 #7aef1f 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 #C6EF1F; nudged cooler, #2BF11C.

Work with #7aef1f in the Color Lab