Skip to content

#a5eb2d

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

RGB
165, 235, 45
HSL
82°, 83%, 55%
CMYK
30, 0, 81, 8
Luminance
0.6761

At a glance

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

Hex
#a5eb2d
Hue
82°
green
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6761
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.52:1
Closest name
Green Yellow
ΔE2000 4.2
Where it sits
Hue82° of 360°
Saturation83%
Lightness55%
Temperature
Warm ← → Cool43% 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#a5eb2d
RGBrgb(165, 235, 45)
HSLhsl(82, 83%, 55%)
CMYKcmyk(30%, 0%, 81%, 8%)
LABlab(85.8 -47.1 76.7)
LCHlch(85.8 90.0 121.6)
OKLCHoklch(0.862 0.216 128.9)
Decimal10873645
Display P3color(display-p3 0.647 0.922 0.176)

Copy-ready code

/* CSS */
color: #a5eb2d;
background-color: #a5eb2d;
/* Tailwind (arbitrary) */
class="text-[#a5eb2d] bg-[#a5eb2d]"
/* SCSS */
$brand: #a5eb2d;
/* SwiftUI */
Color(red: 0.647, green: 0.922, blue: 0.176)
/* Android */
Color.parseColor("#a5eb2d")
/* Flutter */
Color(0xFFA5EB2D)
/* Python / OpenCV (BGR) */
(45, 235, 165)

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

Accessibility — WCAG contrast

Aa
#a5eb2d on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#a5eb2d on black: 14.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7DA00
deuteranopia · #EDD543
tritanopia · #AAE0C9

Color scale — 50 to 950

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

#F9FCF2
#F2FAE6
#E4F6C6
#D3F599
#BDF065
#a5eb2d
#95E015
#7CBA12
#63950E
#496C0F
#2E4309
Base = 500Lightest = 50 · #F9FCF2Darkest = 950 · #2E4309
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F2FAE6;
  --brand-200: #E4F6C6;
  --brand-300: #D3F599;
  --brand-400: #BDF065;
  --brand-500: #a5eb2d;
  --brand-600: #95E015;
  --brand-700: #7CBA12;
  --brand-800: #63950E;
  --brand-900: #496C0F;
  --brand-950: #2E4309;
  --brand: #a5eb2d;
  --brand-ink: #000000;
}

Colors that work with #a5eb2d

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#4028F0
Second voice, not a rival
Dark variant#4E740B
Hover, pressed, headers
Light variant#F5FDE8
Selected rows, tints
Dark surface#1E2414
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 #a5eb2d

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#732DEB
Analogous left#EBD22D
Analogous right#46EB2D
Split-complement 1#2D46EB
Split-complement 2#D22DEB
Triadic 1#2DA5EB
Triadic 2#EB2DA5
Tetradic#2DEBD2

RGB percentages

Red64.7%
Green92.2%
Blue17.6%

CMYK percentages

Cyan29.8%
Magenta0.0%
Yellow80.9%
Key (black)7.8%

Color previews

#a5eb2d text on a black background

contrast 14.52:1

Card sample

#a5eb2d text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 235, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 235, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a5eb2d;
background: linear-gradient(135deg, #a5eb2d, #2DEB34);

Monochromatic scale

Palettes built from #a5eb2d

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.

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

#a5eb2d, answered

What color is #a5eb2d?

#a5eb2d is a balanced electric green, closest to Green Yellow (ΔE2000 4.2). It sits at 82° on the hue wheel with 83% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #a5eb2d?

rgb(165, 235, 45) — 165 red, 235 green and 45 blue out of 255, or 64.7% / 92.2% / 17.6% by channel.

Is #a5eb2d a light or a dark color?

It is a light color. Relative luminance is 0.6761 and perceived brightness is 79%, so black text on it reaches 14.52:1.

Should I use black or white text on #a5eb2d?

Black. It scores 14.52:1 against #a5eb2d, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #a5eb2d?

#732DEB sits directly opposite on the wheel. Softer options are the split-complements #2D46EB and #D22DEB, which give the same contrast with far less vibration.

What colors go well with #a5eb2d?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #4028F0 as an accent and #4E740B for hover and pressed states. For a palette, the analogous pair #EBD22D and #46EB2D stays calm, while #732DEB is the loudest partner.

What is #a5eb2d in CMYK for printing?

cmyk(30%, 0%, 81%, 8%). 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 #a5eb2d warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EBEB2D; nudged cooler, #5EED2B.

Work with #a5eb2d in the Color Lab