Skip to content

#a5d621

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

RGB
165, 214, 33
HSL
76°, 73%, 48%
CMYK
23, 0, 85, 16
Luminance
0.5620

At a glance

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

Hex
#a5d621
Hue
76°
green
Saturation
73%
vivid
Lightness
48%
balanced
Brightness
84%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5620
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.24:1
Closest name
Yellow Green
ΔE2000 3.1
Where it sits
Hue76° of 360°
Saturation73%
Lightness48%
Temperature
Warm ← → Cool38% 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#a5d621
RGBrgb(165, 214, 33)
HSLhsl(76, 73%, 48%)
CMYKcmyk(23%, 0%, 85%, 16%)
LABlab(79.7 -38.4 74.3)
LCHlch(79.7 83.6 117.4)
OKLCHoklch(0.812 0.196 125.0)
Decimal10868257
Display P3color(display-p3 0.647 0.839 0.129)

Copy-ready code

/* CSS */
color: #a5d621;
background-color: #a5d621;
/* Tailwind (arbitrary) */
class="text-[#a5d621] bg-[#a5d621]"
/* SCSS */
$brand: #a5d621;
/* SwiftUI */
Color(red: 0.647, green: 0.839, blue: 0.129)
/* Android */
Color.parseColor("#a5d621")
/* Flutter */
Color(0xFFA5D621)
/* Python / OpenCV (BGR) */
(33, 214, 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 #a5d621 · 12.24:1
Use #000000AAA at every size.
Aa
White text · 1.72:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.24:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a5d621 as text scores 1.72:1 on white and 12.24:1 on black.

Accessibility — WCAG contrast

Aa
#a5d621 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#a5d621 on black: 12.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2C700
deuteranopia · #DCC538
tritanopia · #ADCBB7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a5d621 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FCF3
#F4F8E7
#E8F3C8
#DAF09E
#C7E96D
#B5E13D
#a5d621
#88B11B
#6D8D16
#506614
#32400C
Base = 600Lightest = 50 · #F9FCF3Darkest = 950 · #32400C
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F4F8E7;
  --brand-200: #E8F3C8;
  --brand-300: #DAF09E;
  --brand-400: #C7E96D;
  --brand-500: #B5E13D;
  --brand-600: #a5d621;
  --brand-700: #88B11B;
  --brand-800: #6D8D16;
  --brand-900: #506614;
  --brand-950: #32400C;
  --brand: #a5d621;
  --brand-ink: #000000;
}

Colors that work with #a5d621

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#F9FAF4
Tinted page background
Border#E1EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#201CDB
Second voice, not a rival
Dark variant#556E11
Hover, pressed, headers
Light variant#F7FCE9
Selected rows, tints
Dark surface#202414
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 #a5d621

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#5221D6
Analogous left#D6AC21
Analogous right#4BD621
Split-complement 1#214BD6
Split-complement 2#AC21D6
Triadic 1#21A5D6
Triadic 2#D621A5
Tetradic#21D6AC

RGB percentages

Red64.7%
Green83.9%
Blue12.9%

CMYK percentages

Cyan22.9%
Magenta0.0%
Yellow84.6%
Key (black)16.1%

Color previews

#a5d621 text on a black background

contrast 12.24:1

Card sample

#a5d621 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5d621

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.

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

Converts to four-color process without much drama. Proof it anyway.

#a5d621, answered

What color is #a5d621?

#a5d621 is a balanced vivid green, closest to Yellow Green (ΔE2000 3.1). It sits at 76° on the hue wheel with 73% saturation and 48% lightness, which reads as warm.

What is the RGB value of #a5d621?

rgb(165, 214, 33) — 165 red, 214 green and 33 blue out of 255, or 64.7% / 83.9% / 12.9% by channel.

Is #a5d621 a light or a dark color?

It is a light color. Relative luminance is 0.5620 and perceived brightness is 74%, so black text on it reaches 12.24:1.

Should I use black or white text on #a5d621?

Black. It scores 12.24:1 against #a5d621, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #a5d621?

#5221D6 sits directly opposite on the wheel. Softer options are the split-complements #214BD6 and #AC21D6, which give the same contrast with far less vibration.

What colors go well with #a5d621?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #859B4B for secondary text, #201CDB as an accent and #556E11 for hover and pressed states. For a palette, the analogous pair #D6AC21 and #4BD621 stays calm, while #5221D6 is the loudest partner.

What is #a5d621 in CMYK for printing?

cmyk(23%, 0%, 85%, 16%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #a5d621 warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D6C421; nudged cooler, #62D81E.

Work with #a5d621 in the Color Lab