Skip to content

#a1d821

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

RGB
161, 216, 33
HSL
78°, 74%, 49%
CMYK
26, 0, 85, 15
Luminance
0.5680

At a glance

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

Hex
#a1d821
Hue
78°
green
Saturation
74%
vivid
Lightness
49%
balanced
Brightness
85%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5680
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.36:1
Closest name
Yellow Green
ΔE2000 3.1
Where it sits
Hue78° of 360°
Saturation74%
Lightness49%
Temperature
Warm ← → Cool40% 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#a1d821
RGBrgb(161, 216, 33)
HSLhsl(78, 74%, 49%)
CMYKcmyk(26%, 0%, 85%, 15%)
LABlab(80.1 -40.9 74.5)
LCHlch(80.1 84.9 118.8)
OKLCHoklch(0.814 0.200 126.4)
Decimal10606625
Display P3color(display-p3 0.631 0.847 0.129)

Copy-ready code

/* CSS */
color: #a1d821;
background-color: #a1d821;
/* Tailwind (arbitrary) */
class="text-[#a1d821] bg-[#a1d821]"
/* SCSS */
$brand: #a1d821;
/* SwiftUI */
Color(red: 0.631, green: 0.847, blue: 0.129)
/* Android */
Color.parseColor("#a1d821")
/* Flutter */
Color(0xFFA1D821)
/* Python / OpenCV (BGR) */
(33, 216, 161)

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

Accessibility — WCAG contrast

Aa
#a1d821 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#a1d821 on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4C900
deuteranopia · #DCC638
tritanopia · #A8CDB8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a1d821 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
#F3F8E7
#E6F3C8
#D7F09E
#C4E96D
#B0E13C
#a1d821
#84B11B
#6A8E16
#4E6714
#31400C
Base = 600Lightest = 50 · #F9FCF3Darkest = 950 · #31400C
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F3F8E7;
  --brand-200: #E6F3C8;
  --brand-300: #D7F09E;
  --brand-400: #C4E96D;
  --brand-500: #B0E13C;
  --brand-600: #a1d821;
  --brand-700: #84B11B;
  --brand-800: #6A8E16;
  --brand-900: #4E6714;
  --brand-950: #31400C;
  --brand: #a1d821;
  --brand-ink: #000000;
}

Colors that work with #a1d821

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#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#261CDD
Second voice, not a rival
Dark variant#526F11
Hover, pressed, headers
Light variant#F6FCE9
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 #a1d821

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#5821D8
Analogous left#D8B321
Analogous right#46D821
Split-complement 1#2146D8
Split-complement 2#B321D8
Triadic 1#21A1D8
Triadic 2#D821A1
Tetradic#21D8B3

RGB percentages

Red63.1%
Green84.7%
Blue12.9%

CMYK percentages

Cyan25.5%
Magenta0.0%
Yellow84.7%
Key (black)15.3%

Color previews

#a1d821 text on a black background

contrast 12.36:1

Card sample

#a1d821 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(161, 216, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 216, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a1d821;
background: linear-gradient(135deg, #a1d821, #27D821);

Monochromatic scale

Palettes built from #a1d821

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.

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

#a1d821, answered

What color is #a1d821?

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

What is the RGB value of #a1d821?

rgb(161, 216, 33) — 161 red, 216 green and 33 blue out of 255, or 63.1% / 84.7% / 12.9% by channel.

Is #a1d821 a light or a dark color?

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

Should I use black or white text on #a1d821?

Black. It scores 12.36:1 against #a1d821, versus 1.70:1 for white — AAA at any size.

What is the complementary color of #a1d821?

#5821D8 sits directly opposite on the wheel. Softer options are the split-complements #2146D8 and #B321D8, which give the same contrast with far less vibration.

What colors go well with #a1d821?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #261CDD as an accent and #526F11 for hover and pressed states. For a palette, the analogous pair #D8B321 and #46D821 stays calm, while #5821D8 is the loudest partner.

What is #a1d821 in CMYK for printing?

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

Is #a1d821 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D8CC21; nudged cooler, #5DDA1E.

Work with #a1d821 in the Color Lab