Skip to content

#9cc511

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

RGB
156, 197, 17
HSL
74°, 84%, 42%
CMYK
21, 0, 91, 23
Luminance
0.4704

At a glance

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

Hex
#9cc511
Hue
74°
green
Saturation
84%
electric
Lightness
42%
dark
Brightness
77%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4704
WCAG relative
Temperature
Warm
36/100 cool
Color family
Green
Tone
Electric
Best ink
Black
10.41:1
Closest name
Yellow Green
ΔE2000 3.1
Where it sits
Hue74° of 360°
Saturation84%
Lightness42%
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#9cc511
RGBrgb(156, 197, 17)
HSLhsl(74, 84%, 42%)
CMYKcmyk(21%, 0%, 91%, 23%)
LABlab(74.2 -34.7 72.4)
LCHlch(74.2 80.3 115.6)
OKLCHoklch(0.766 0.186 123.5)
Decimal10274065
Display P3color(display-p3 0.612 0.773 0.067)

Copy-ready code

/* CSS */
color: #9cc511;
background-color: #9cc511;
/* Tailwind (arbitrary) */
class="text-[#9cc511] bg-[#9cc511]"
/* SCSS */
$brand: #9cc511;
/* SwiftUI */
Color(red: 0.612, green: 0.773, blue: 0.067)
/* Android */
Color.parseColor("#9cc511")
/* Flutter */
Color(0xFF9CC511)
/* Python / OpenCV (BGR) */
(17, 197, 156)

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

Accessibility — WCAG contrast

Aa
#9cc511 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#9cc511 on black: 10.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1B800
deuteranopia · #CCB62C
tritanopia · #A4BBA8

Color scale — 50 to 950

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

#FAFCF2
#F5FAE6
#EBF6C5
#E1F698
#D1F264
#C2ED30
#B2E113
#9cc511
#77960D
#576D0E
#364409
Base = 700Lightest = 50 · #FAFCF2Darkest = 950 · #364409
:root {
  --brand-50: #FAFCF2;
  --brand-100: #F5FAE6;
  --brand-200: #EBF6C5;
  --brand-300: #E1F698;
  --brand-400: #D1F264;
  --brand-500: #C2ED30;
  --brand-600: #B2E113;
  --brand-700: #9cc511;
  --brand-800: #77960D;
  --brand-900: #576D0E;
  --brand-950: #364409;
  --brand: #9cc511;
  --brand-ink: #000000;
}

Colors that work with #9cc511

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#0D11C9
Second voice, not a rival
Dark variant#5D750A
Hover, pressed, headers
Light variant#F8FDE8
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 #9cc511

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#3A11C5
Analogous left#C59411
Analogous right#42C511
Split-complement 1#1142C5
Split-complement 2#9411C5
Triadic 1#119CC5
Triadic 2#C5119C
Tetradic#11C594

RGB percentages

Red61.2%
Green77.3%
Blue6.7%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow91.4%
Key (black)22.7%

Color previews

#9cc511 text on a black background

contrast 10.41:1

Card sample

#9cc511 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 197, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 197, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9cc511;
background: linear-gradient(135deg, #9cc511, #24C511);

Monochromatic scale

Palettes built from #9cc511

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.

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

#9cc511, answered

What color is #9cc511?

#9cc511 is a dark electric green, closest to Yellow Green (ΔE2000 3.1). It sits at 74° on the hue wheel with 84% saturation and 42% lightness, which reads as warm.

What is the RGB value of #9cc511?

rgb(156, 197, 17) — 156 red, 197 green and 17 blue out of 255, or 61.2% / 77.3% / 6.7% by channel.

Is #9cc511 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4704 and perceived brightness is 68%, so black text on it reaches 10.41:1.

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

Black. It scores 10.41:1 against #9cc511, versus 2.02:1 for white — AAA at any size.

What is the complementary color of #9cc511?

#3A11C5 sits directly opposite on the wheel. Softer options are the split-complements #1142C5 and #9411C5, which give the same contrast with far less vibration.

What colors go well with #9cc511?

For interface work: #F9FAF4 as the surface, #E2EDC0 for borders, #899B4B for secondary text, #0D11C9 as an accent and #5D750A for hover and pressed states. For a palette, the analogous pair #C59411 and #42C511 stays calm, while #3A11C5 is the loudest partner.

What is #9cc511 in CMYK for printing?

cmyk(21%, 0%, 91%, 23%). 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 #9cc511 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 #C5AC11; nudged cooler, #5AC70F.

Work with #9cc511 in the Color Lab