Skip to content

#a2db0f

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

RGB
162, 219, 15
HSL
77°, 87%, 46%
CMYK
26, 0, 93, 14
Luminance
0.5838

At a glance

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

Hex
#a2db0f
Hue
77°
green
Saturation
87%
electric
Lightness
46%
balanced
Brightness
86%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5838
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.68:1
Closest name
Yellow Green
ΔE2000 4.1
Where it sits
Hue77° of 360°
Saturation87%
Lightness46%
Temperature
Warm ← → Cool39% 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#a2db0f
RGBrgb(162, 219, 15)
HSLhsl(77, 87%, 46%)
CMYKcmyk(26%, 0%, 93%, 14%)
LABlab(81.0 -42.2 78.2)
LCHlch(81.0 88.8 118.4)
OKLCHoklch(0.822 0.208 126.4)
Decimal10672911
Display P3color(display-p3 0.635 0.859 0.059)

Copy-ready code

/* CSS */
color: #a2db0f;
background-color: #a2db0f;
/* Tailwind (arbitrary) */
class="text-[#a2db0f] bg-[#a2db0f]"
/* SCSS */
$brand: #a2db0f;
/* SwiftUI */
Color(red: 0.635, green: 0.859, blue: 0.059)
/* Android */
Color.parseColor("#a2db0f")
/* Flutter */
Color(0xFFA2DB0F)
/* Python / OpenCV (BGR) */
(15, 219, 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 #a2db0f · 12.68:1
Use #000000AAA at every size.
Aa
White text · 1.66:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.68:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a2db0f as text scores 1.66:1 on white and 12.68:1 on black.

Accessibility — WCAG contrast

Aa
#a2db0f on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#a2db0f on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7CB00
deuteranopia · #DFC831
tritanopia · #A9D0BA

Color scale — 50 to 950

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

#FAFDF2
#F4FAE5
#E9F7C4
#DCF896
#CBF461
#BAF12D
#a2db0f
#8DBF0D
#71990A
#536E0C
#344508
Base = 600Lightest = 50 · #FAFDF2Darkest = 950 · #344508
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F4FAE5;
  --brand-200: #E9F7C4;
  --brand-300: #DCF896;
  --brand-400: #CBF461;
  --brand-500: #BAF12D;
  --brand-600: #a2db0f;
  --brand-700: #8DBF0D;
  --brand-800: #71990A;
  --brand-900: #536E0C;
  --brand-950: #344508;
  --brand: #a2db0f;
  --brand-ink: #000000;
}

Colors that work with #a2db0f

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#E0EDC0
Hairlines and dividers
Muted text#849B4B
Captions on the surface
Accent#110AE0
Second voice, not a rival
Dark variant#587708
Hover, pressed, headers
Light variant#F7FDE7
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 #a2db0f

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#480FDB
Analogous left#DBAE0F
Analogous right#3CDB0F
Split-complement 1#0F3CDB
Split-complement 2#AE0FDB
Triadic 1#0FA2DB
Triadic 2#DB0FA2
Tetradic#0FDBAE

RGB percentages

Red63.5%
Green85.9%
Blue5.9%

CMYK percentages

Cyan26.0%
Magenta0.0%
Yellow93.2%
Key (black)14.1%

Color previews

#a2db0f text on a black background

contrast 12.68:1

Card sample

#a2db0f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2db0f

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.

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

#a2db0f, answered

What color is #a2db0f?

#a2db0f is a balanced electric green, closest to Yellow Green (ΔE2000 4.1). It sits at 77° on the hue wheel with 87% saturation and 46% lightness, which reads as warm.

What is the RGB value of #a2db0f?

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

Is #a2db0f a light or a dark color?

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

Should I use black or white text on #a2db0f?

Black. It scores 12.68:1 against #a2db0f, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #a2db0f?

#480FDB sits directly opposite on the wheel. Softer options are the split-complements #0F3CDB and #AE0FDB, which give the same contrast with far less vibration.

What colors go well with #a2db0f?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #849B4B for secondary text, #110AE0 as an accent and #587708 for hover and pressed states. For a palette, the analogous pair #DBAE0F and #3CDB0F stays calm, while #480FDB is the loudest partner.

What is #a2db0f in CMYK for printing?

cmyk(26%, 0%, 93%, 14%). 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 #a2db0f warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DBC90F; nudged cooler, #56DD0D.

Work with #a2db0f in the Color Lab