Skip to content

#a2cf0b

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

RGB
162, 207, 11
HSL
74°, 90%, 43%
CMYK
22, 0, 95, 19
Luminance
0.5233

At a glance

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

Hex
#a2cf0b
Hue
74°
green
Saturation
90%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5233
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.47:1
Closest name
Yellow Green
ΔE2000 2.9
Where it sits
Hue74° of 360°
Saturation90%
Lightness43%
Temperature
Warm ← → Cool37% 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#a2cf0b
RGBrgb(162, 207, 11)
HSLhsl(74, 90%, 43%)
CMYKcmyk(22%, 0%, 95%, 19%)
LABlab(77.5 -36.9 75.8)
LCHlch(77.5 84.4 116.0)
OKLCHoklch(0.793 0.195 124.0)
Decimal10669835
Display P3color(display-p3 0.635 0.812 0.043)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2cf0b on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#a2cf0b on black: 11.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC100
deuteranopia · #D6BF2D
tritanopia · #ABC4B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a2cf0b 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
#F6FBE5
#ECF8C3
#E2F994
#D4F75F
#C5F42A
#B6E80C
#a2cf0b
#799B08
#59700B
#374607
Base = 700Lightest = 50 · #FAFDF2Darkest = 950 · #374607
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F6FBE5;
  --brand-200: #ECF8C3;
  --brand-300: #E2F994;
  --brand-400: #D4F75F;
  --brand-500: #C5F42A;
  --brand-600: #B6E80C;
  --brand-700: #a2cf0b;
  --brand-800: #799B08;
  --brand-900: #59700B;
  --brand-950: #374607;
  --brand: #a2cf0b;
  --brand-ink: #000000;
}

Colors that work with #a2cf0b

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#889B4B
Captions on the surface
Accent#070BD3
Second voice, not a rival
Dark variant#5F7906
Hover, pressed, headers
Light variant#F8FEE7
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 #a2cf0b

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#380BCF
Analogous left#CF9A0B
Analogous right#40CF0B
Split-complement 1#0B40CF
Split-complement 2#9A0BCF
Triadic 1#0BA2CF
Triadic 2#CF0BA2
Tetradic#0BCF9A

RGB percentages

Red63.5%
Green81.2%
Blue4.3%

CMYK percentages

Cyan21.7%
Magenta0.0%
Yellow94.7%
Key (black)18.8%

Color previews

#a2cf0b text on a black background

contrast 11.47:1

Card sample

#a2cf0b text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2cf0b

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.

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

#a2cf0b, answered

What color is #a2cf0b?

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

What is the RGB value of #a2cf0b?

rgb(162, 207, 11) — 162 red, 207 green and 11 blue out of 255, or 63.5% / 81.2% / 4.3% by channel.

Is #a2cf0b a light or a dark color?

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

Should I use black or white text on #a2cf0b?

Black. It scores 11.47:1 against #a2cf0b, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #a2cf0b?

#380BCF sits directly opposite on the wheel. Softer options are the split-complements #0B40CF and #9A0BCF, which give the same contrast with far less vibration.

What colors go well with #a2cf0b?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #889B4B for secondary text, #070BD3 as an accent and #5F7906 for hover and pressed states. For a palette, the analogous pair #CF9A0B and #40CF0B stays calm, while #380BCF is the loudest partner.

What is #a2cf0b in CMYK for printing?

cmyk(22%, 0%, 95%, 19%). 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 #a2cf0b warm or cool?

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

Work with #a2cf0b in the Color Lab