Skip to content

#a1cd3e

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

RGB
161, 205, 62
HSL
79°, 59%, 52%
CMYK
22, 0, 70, 20
Luminance
0.5159

At a glance

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

Hex
#a1cd3e
Hue
79°
green
Saturation
59%
vivid
Lightness
52%
balanced
Brightness
80%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5159
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.32:1
Closest name
Yellow Green
ΔE2000 1.3
Where it sits
Hue79° of 360°
Saturation59%
Lightness52%
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#a1cd3e
RGBrgb(161, 205, 62)
HSLhsl(79, 59%, 52%)
CMYKcmyk(22%, 0%, 70%, 20%)
LABlab(77.0 -34.6 63.1)
LCHlch(77.0 72.0 118.8)
OKLCHoklch(0.790 0.173 125.2)
Decimal10603838
Display P3color(display-p3 0.631 0.804 0.243)

Copy-ready code

/* CSS */
color: #a1cd3e;
background-color: #a1cd3e;
/* Tailwind (arbitrary) */
class="text-[#a1cd3e] bg-[#a1cd3e]"
/* SCSS */
$brand: #a1cd3e;
/* SwiftUI */
Color(red: 0.631, green: 0.804, blue: 0.243)
/* Android */
Color.parseColor("#a1cd3e")
/* Flutter */
Color(0xFFA1CD3E)
/* Python / OpenCV (BGR) */
(62, 205, 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 #a1cd3e · 11.32:1
Use #000000AAA at every size.
Aa
White text · 1.86:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.32:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a1cd3e as text scores 1.86:1 on white and 11.32:1 on black.

Accessibility — WCAG contrast

Aa
#a1cd3e on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#a1cd3e on black: 11.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8C027
deuteranopia · #D2BE4A
tritanopia · #A8C3B1

Color scale — 50 to 950

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

#F9FBF4
#F2F7E9
#E4EFCD
#D4E8A6
#BEDC79
#a1cd3e
#96C232
#7DA22A
#648222
#4A5E1C
#2E3B12
Base = 500Lightest = 50 · #F9FBF4Darkest = 950 · #2E3B12
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F2F7E9;
  --brand-200: #E4EFCD;
  --brand-300: #D4E8A6;
  --brand-400: #BEDC79;
  --brand-500: #a1cd3e;
  --brand-600: #96C232;
  --brand-700: #7DA22A;
  --brand-800: #648222;
  --brand-900: #4A5E1C;
  --brand-950: #2E3B12;
  --brand: #a1cd3e;
  --brand-ink: #000000;
}

Colors that work with #a1cd3e

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#829B4B
Captions on the surface
Accent#4239D2
Second voice, not a rival
Dark variant#4E651A
Hover, pressed, headers
Light variant#F5FAEB
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 #a1cd3e

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#6A3ECD
Analogous left#CDB23E
Analogous right#5ACD3E
Split-complement 1#3E5ACD
Split-complement 2#B23ECD
Triadic 1#3EA1CD
Triadic 2#CD3EA1
Tetradic#3ECDB2

RGB percentages

Red63.1%
Green80.4%
Blue24.3%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow69.8%
Key (black)19.6%

Color previews

#a1cd3e text on a black background

contrast 11.32:1

Card sample

#a1cd3e text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(161, 205, 62, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 205, 62, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a1cd3e;
background: linear-gradient(135deg, #a1cd3e, #42CD3E);

Monochromatic scale

Palettes built from #a1cd3e

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.

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

#a1cd3e, answered

What color is #a1cd3e?

#a1cd3e is a balanced vivid green, closest to Yellow Green (ΔE2000 1.3). It sits at 79° on the hue wheel with 59% saturation and 52% lightness, which reads as warm.

What is the RGB value of #a1cd3e?

rgb(161, 205, 62) — 161 red, 205 green and 62 blue out of 255, or 63.1% / 80.4% / 24.3% by channel.

Is #a1cd3e a light or a dark color?

It is a light color. Relative luminance is 0.5159 and perceived brightness is 71%, so black text on it reaches 11.32:1.

Should I use black or white text on #a1cd3e?

Black. It scores 11.32:1 against #a1cd3e, versus 1.86:1 for white — AAA at any size.

What is the complementary color of #a1cd3e?

#6A3ECD sits directly opposite on the wheel. Softer options are the split-complements #3E5ACD and #B23ECD, which give the same contrast with far less vibration.

What colors go well with #a1cd3e?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #4239D2 as an accent and #4E651A for hover and pressed states. For a palette, the analogous pair #CDB23E and #5ACD3E stays calm, while #6A3ECD is the loudest partner.

What is #a1cd3e in CMYK for printing?

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

Is #a1cd3e 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 #CDC53E; nudged cooler, #6CCF3C.

Work with #a1cd3e in the Color Lab