Skip to content

#a7ef1b

a balanced, electric green · warm · closest name: Green Yellow

RGB
167, 239, 27
HSL
80°, 87%, 52%
CMYK
30, 0, 89, 6
Luminance
0.7003

At a glance

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

Hex
#a7ef1b
Hue
80°
green
Saturation
87%
electric
Lightness
52%
balanced
Brightness
94%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7003
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.01:1
Closest name
Green Yellow
ΔE2000 3.4
Where it sits
Hue80° of 360°
Saturation87%
Lightness52%
Temperature
Warm ← → Cool42% cool

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

Every format

HEX#a7ef1b
RGBrgb(167, 239, 27)
HSLhsl(80, 87%, 52%)
CMYKcmyk(30%, 0%, 89%, 6%)
LABlab(87.0 -48.6 81.5)
LCHlch(87.0 94.9 120.8)
OKLCHoklch(0.872 0.225 128.6)
Decimal11005723
Display P3color(display-p3 0.655 0.937 0.106)

Copy-ready code

/* CSS */
color: #a7ef1b;
background-color: #a7ef1b;
/* Tailwind (arbitrary) */
class="text-[#a7ef1b] bg-[#a7ef1b]"
/* SCSS */
$brand: #a7ef1b;
/* SwiftUI */
Color(red: 0.655, green: 0.937, blue: 0.106)
/* Android */
Color.parseColor("#a7ef1b")
/* Flutter */
Color(0xFFA7EF1B)
/* Python / OpenCV (BGR) */
(27, 239, 167)

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

Accessibility — WCAG contrast

Aa
#a7ef1b on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#a7ef1b on black: 15.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBDD00
deuteranopia · #F1D83B
tritanopia · #ADE4CC

Color scale — 50 to 950

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

#F9FDF2
#F3FAE5
#E6F7C4
#D7F896
#C2F462
#a7ef1b
#9CE510
#82BF0D
#68990B
#4D6E0C
#304508
Base = 500Lightest = 50 · #F9FDF2Darkest = 950 · #304508
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FAE5;
  --brand-200: #E6F7C4;
  --brand-300: #D7F896;
  --brand-400: #C2F462;
  --brand-500: #a7ef1b;
  --brand-600: #9CE510;
  --brand-700: #82BF0D;
  --brand-800: #68990B;
  --brand-900: #4D6E0C;
  --brand-950: #304508;
  --brand: #a7ef1b;
  --brand-ink: #000000;
}

Colors that work with #a7ef1b

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#F8FAF4
Tinted page background
Border#DDEDC0
Hairlines and dividers
Muted text#809B4B
Captions on the surface
Accent#2A16F4
Second voice, not a rival
Dark variant#517708
Hover, pressed, headers
Light variant#F6FDE7
Selected rows, tints
Dark surface#1F2414
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 #a7ef1b

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#631BEF
Analogous left#EFCD1B
Analogous right#3DEF1B
Split-complement 1#1B3DEF
Split-complement 2#CD1BEF
Triadic 1#1BA7EF
Triadic 2#EF1BA7
Tetradic#1BEFCD

RGB percentages

Red65.5%
Green93.7%
Blue10.6%

CMYK percentages

Cyan30.1%
Magenta0.0%
Yellow88.7%
Key (black)6.3%

Color previews

#a7ef1b text on a black background

contrast 15.01:1

Card sample

#a7ef1b text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 239, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 239, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7ef1b;
background: linear-gradient(135deg, #a7ef1b, #1BEF1D);

Monochromatic scale

Palettes built from #a7ef1b

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.

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

#a7ef1b, answered

What color is #a7ef1b?

#a7ef1b is a balanced electric green, closest to Green Yellow (ΔE2000 3.4). It sits at 80° on the hue wheel with 87% saturation and 52% lightness, which reads as warm.

What is the RGB value of #a7ef1b?

rgb(167, 239, 27) — 167 red, 239 green and 27 blue out of 255, or 65.5% / 93.7% / 10.6% by channel.

Is #a7ef1b a light or a dark color?

It is a light color. Relative luminance is 0.7003 and perceived brightness is 80%, so black text on it reaches 15.01:1.

Should I use black or white text on #a7ef1b?

Black. It scores 15.01:1 against #a7ef1b, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #a7ef1b?

#631BEF sits directly opposite on the wheel. Softer options are the split-complements #1B3DEF and #CD1BEF, which give the same contrast with far less vibration.

What colors go well with #a7ef1b?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #809B4B for secondary text, #2A16F4 as an accent and #517708 for hover and pressed states. For a palette, the analogous pair #EFCD1B and #3DEF1B stays calm, while #631BEF is the loudest partner.

What is #a7ef1b in CMYK for printing?

cmyk(30%, 0%, 89%, 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 #a7ef1b warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EFE91B; nudged cooler, #58F119.

Work with #a7ef1b in the Color Lab