Skip to content

#9abc2a

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

RGB
154, 188, 42
HSL
74°, 64%, 45%
CMYK
18, 0, 78, 26
Luminance
0.4300

At a glance

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

Hex
#9abc2a
Hue
74°
green
Saturation
64%
vivid
Lightness
45%
balanced
Brightness
74%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4300
WCAG relative
Temperature
Warm
37/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
9.60:1
Closest name
Yellow Green
ΔE2000 4.7
Where it sits
Hue74° of 360°
Saturation64%
Lightness45%
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#9abc2a
RGBrgb(154, 188, 42)
HSLhsl(74, 64%, 45%)
CMYKcmyk(18%, 0%, 78%, 26%)
LABlab(71.6 -30.6 64.4)
LCHlch(71.6 71.3 115.4)
OKLCHoklch(0.744 0.168 122.4)
Decimal10140714
Display P3color(display-p3 0.604 0.737 0.165)

Copy-ready code

/* CSS */
color: #9abc2a;
background-color: #9abc2a;
/* Tailwind (arbitrary) */
class="text-[#9abc2a] bg-[#9abc2a]"
/* SCSS */
$brand: #9abc2a;
/* SwiftUI */
Color(red: 0.604, green: 0.737, blue: 0.165)
/* Android */
Color.parseColor("#9abc2a")
/* Flutter */
Color(0xFF9ABC2A)
/* Python / OpenCV (BGR) */
(42, 188, 154)

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

Accessibility — WCAG contrast

Aa
#9abc2a on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#9abc2a on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C7B000
deuteranopia · #C3AF38
tritanopia · #A2B2A1

Color scale — 50 to 950

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

#F9FBF4
#F4F7E8
#E8F0CB
#DAEBA3
#C7E075
#B5D648
#9abc2a
#89A725
#6D851E
#506119
#323D10
Base = 600Lightest = 50 · #F9FBF4Darkest = 950 · #323D10
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F4F7E8;
  --brand-200: #E8F0CB;
  --brand-300: #DAEBA3;
  --brand-400: #C7E075;
  --brand-500: #B5D648;
  --brand-600: #9abc2a;
  --brand-700: #89A725;
  --brand-800: #6D851E;
  --brand-900: #506119;
  --brand-950: #323D10;
  --brand: #9abc2a;
  --brand-ink: #000000;
}

Colors that work with #9abc2a

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#2528C1
Second voice, not a rival
Dark variant#556817
Hover, pressed, headers
Light variant#F7FAEA
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 #9abc2a

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#4C2ABC
Analogous left#BC952A
Analogous right#51BC2A
Split-complement 1#2A51BC
Split-complement 2#952ABC
Triadic 1#2A9ABC
Triadic 2#BC2A9A
Tetradic#2ABC95

RGB percentages

Red60.4%
Green73.7%
Blue16.5%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow77.7%
Key (black)26.3%

Color previews

#9abc2a text on a black background

contrast 9.60:1

Card sample

#9abc2a text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 188, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 188, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9abc2a;
background: linear-gradient(135deg, #9abc2a, #39BC2A);

Monochromatic scale

Palettes built from #9abc2a

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.

#9abc2a 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.

#9abc2a, answered

What color is #9abc2a?

#9abc2a is a balanced vivid green, closest to Yellow Green (ΔE2000 4.7). It sits at 74° on the hue wheel with 64% saturation and 45% lightness, which reads as warm.

What is the RGB value of #9abc2a?

rgb(154, 188, 42) — 154 red, 188 green and 42 blue out of 255, or 60.4% / 73.7% / 16.5% by channel.

Is #9abc2a a light or a dark color?

It is a mid-tone. Relative luminance is 0.4300 and perceived brightness is 66%, so black text on it reaches 9.60:1.

Should I use black or white text on #9abc2a?

Black. It scores 9.60:1 against #9abc2a, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #9abc2a?

#4C2ABC sits directly opposite on the wheel. Softer options are the split-complements #2A51BC and #952ABC, which give the same contrast with far less vibration.

What colors go well with #9abc2a?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #889B4B for secondary text, #2528C1 as an accent and #556817 for hover and pressed states. For a palette, the analogous pair #BC952A and #51BC2A stays calm, while #4C2ABC is the loudest partner.

What is #9abc2a in CMYK for printing?

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

Is #9abc2a 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 #BCA92A; nudged cooler, #64BE28.

Work with #9abc2a in the Color Lab