Skip to content

#a2cd0f

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

RGB
162, 205, 15
HSL
74°, 86%, 43%
CMYK
21, 0, 93, 20
Luminance
0.5138

At a glance

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

Hex
#a2cd0f
Hue
74°
green
Saturation
86%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5138
WCAG relative
Temperature
Warm
36/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.28:1
Closest name
Yellow Green
ΔE2000 2.9
Where it sits
Hue74° of 360°
Saturation86%
Lightness43%
Temperature
Warm ← → Cool36% 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#a2cd0f
RGBrgb(162, 205, 15)
HSLhsl(74, 86%, 43%)
CMYKcmyk(21%, 0%, 93%, 20%)
LABlab(76.9 -36.0 75.0)
LCHlch(76.9 83.1 115.6)
OKLCHoklch(0.789 0.192 123.6)
Decimal10669327
Display P3color(display-p3 0.635 0.804 0.059)

Copy-ready code

/* CSS */
color: #a2cd0f;
background-color: #a2cd0f;
/* Tailwind (arbitrary) */
class="text-[#a2cd0f] bg-[#a2cd0f]"
/* SCSS */
$brand: #a2cd0f;
/* SwiftUI */
Color(red: 0.635, green: 0.804, blue: 0.059)
/* Android */
Color.parseColor("#a2cd0f")
/* Flutter */
Color(0xFFA2CD0F)
/* Python / OpenCV (BGR) */
(15, 205, 162)

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

Accessibility — WCAG contrast

Aa
#a2cd0f on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#a2cd0f on black: 11.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9BF00
deuteranopia · #D4BE2D
tritanopia · #ABC2AE

Color scale — 50 to 950

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

#FAFDF2
#F5FAE5
#ECF7C5
#E1F796
#D3F462
#C4F02E
#B4E411
#a2cd0f
#78980B
#586E0D
#374508
Base = 700Lightest = 50 · #FAFDF2Darkest = 950 · #374508
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F5FAE5;
  --brand-200: #ECF7C5;
  --brand-300: #E1F796;
  --brand-400: #D3F462;
  --brand-500: #C4F02E;
  --brand-600: #B4E411;
  --brand-700: #a2cd0f;
  --brand-800: #78980B;
  --brand-900: #586E0D;
  --brand-950: #374508;
  --brand: #a2cd0f;
  --brand-ink: #000000;
}

Colors that work with #a2cd0f

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#E2EDC0
Hairlines and dividers
Muted text#899B4B
Captions on the surface
Accent#0B0FD1
Second voice, not a rival
Dark variant#5E7709
Hover, pressed, headers
Light variant#F8FDE7
Selected rows, tints
Dark surface#212414
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 #a2cd0f

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#3A0FCD
Analogous left#CD990F
Analogous right#43CD0F
Split-complement 1#0F43CD
Split-complement 2#990FCD
Triadic 1#0FA2CD
Triadic 2#CD0FA2
Tetradic#0FCD99

RGB percentages

Red63.5%
Green80.4%
Blue5.9%

CMYK percentages

Cyan21.0%
Magenta0.0%
Yellow92.7%
Key (black)19.6%

Color previews

#a2cd0f text on a black background

contrast 11.28:1

Card sample

#a2cd0f text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 205, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 205, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cd0f;
background: linear-gradient(135deg, #a2cd0f, #23CD0F);

Monochromatic scale

Palettes built from #a2cd0f

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.

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

#a2cd0f, answered

What color is #a2cd0f?

#a2cd0f is a dark electric green, closest to Yellow Green (ΔE2000 2.9). It sits at 74° on the hue wheel with 86% saturation and 43% lightness, which reads as warm.

What is the RGB value of #a2cd0f?

rgb(162, 205, 15) — 162 red, 205 green and 15 blue out of 255, or 63.5% / 80.4% / 5.9% by channel.

Is #a2cd0f a light or a dark color?

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

Should I use black or white text on #a2cd0f?

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

What is the complementary color of #a2cd0f?

#3A0FCD sits directly opposite on the wheel. Softer options are the split-complements #0F43CD and #990FCD, which give the same contrast with far less vibration.

What colors go well with #a2cd0f?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #899B4B for secondary text, #0B0FD1 as an accent and #5E7709 for hover and pressed states. For a palette, the analogous pair #CD990F and #43CD0F stays calm, while #3A0FCD is the loudest partner.

What is #a2cd0f in CMYK for printing?

cmyk(21%, 0%, 93%, 20%). 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 #a2cd0f warm or cool?

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

Work with #a2cd0f in the Color Lab