Skip to content

#a2db5f

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

RGB
162, 219, 95
HSL
88°, 63%, 62%
CMYK
26, 0, 57, 14
Luminance
0.5917

At a glance

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

Hex
#a2db5f
Hue
88°
green
Saturation
63%
vivid
Lightness
62%
balanced
Brightness
86%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5917
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.83:1
Closest name
Yellow Green
ΔE2000 5.2
Where it sits
Hue88° of 360°
Saturation63%
Lightness62%
Temperature
Warm ← → Cool48% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a2db5f
RGBrgb(162, 219, 95)
HSLhsl(88, 63%, 62%)
CMYKcmyk(26%, 0%, 57%, 14%)
LABlab(81.4 -38.0 54.2)
LCHlch(81.4 66.2 125.1)
OKLCHoklch(0.827 0.166 130.0)
Decimal10672991
Display P3color(display-p3 0.635 0.859 0.373)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2db5f on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#a2db5f on black: 12.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E4CD52
deuteranopia · #DCC967
tritanopia · #A6D2C0

Color scale — 50 to 950

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

#F8FBF4
#F0F7E8
#DFF0CB
#CAEAA3
#a2db5f
#94D648
#81C82D
#6BA725
#56851E
#40611A
#283D10
Base = 400Lightest = 50 · #F8FBF4Darkest = 950 · #283D10
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F0F7E8;
  --brand-200: #DFF0CB;
  --brand-300: #CAEAA3;
  --brand-400: #a2db5f;
  --brand-500: #94D648;
  --brand-600: #81C82D;
  --brand-700: #6BA725;
  --brand-800: #56851E;
  --brand-900: #40611A;
  --brand-950: #283D10;
  --brand: #a2db5f;
  --brand-ink: #000000;
}

Colors that work with #a2db5f

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#F8FAF4
Tinted page background
Border#D8EDC0
Hairlines and dividers
Muted text#769B4B
Captions on the surface
Accent#775BDF
Second voice, not a rival
Dark variant#436817
Hover, pressed, headers
Light variant#F3FAEA
Selected rows, tints
Dark surface#1D2414
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 #a2db5f

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#985FDB
Analogous left#DBD65F
Analogous right#64DB5F
Split-complement 1#5F64DB
Split-complement 2#D65FDB
Triadic 1#5FA2DB
Triadic 2#DB5FA2
Tetradic#5FDBD6

RGB percentages

Red63.5%
Green85.9%
Blue37.3%

CMYK percentages

Cyan26.0%
Magenta0.0%
Yellow56.6%
Key (black)14.1%

Color previews

#a2db5f text on a black background

contrast 12.83:1

Card sample

#a2db5f text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2db5f

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.

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

#a2db5f, answered

What color is #a2db5f?

#a2db5f is a balanced vivid green, closest to Yellow Green (ΔE2000 5.2). It sits at 88° on the hue wheel with 63% saturation and 62% lightness, which reads as neutral.

What is the RGB value of #a2db5f?

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

Is #a2db5f a light or a dark color?

It is a light color. Relative luminance is 0.5917 and perceived brightness is 75%, so black text on it reaches 12.83:1.

Should I use black or white text on #a2db5f?

Black. It scores 12.83:1 against #a2db5f, versus 1.64:1 for white — AAA at any size.

What is the complementary color of #a2db5f?

#985FDB sits directly opposite on the wheel. Softer options are the split-complements #5F64DB and #D65FDB, which give the same contrast with far less vibration.

What colors go well with #a2db5f?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #769B4B for secondary text, #775BDF as an accent and #436817 for hover and pressed states. For a palette, the analogous pair #DBD65F and #64DB5F stays calm, while #985FDB is the loudest partner.

What is #a2db5f in CMYK for printing?

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

Is #a2db5f warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFDB5F; nudged cooler, #73DD5D.

Work with #a2db5f in the Color Lab