Skip to content

#9df70c

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

RGB
157, 247, 12
HSL
83°, 94%, 51%
CMYK
36, 0, 95, 3
Luminance
0.7372

At a glance

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

Hex
#9df70c
Hue
83°
green
Saturation
94%
electric
Lightness
51%
balanced
Brightness
97%
HSV value
Perceived
82%
weighted brightness
Luminance
0.7372
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.74:1
Closest name
Green Yellow
ΔE2000 2.2
Where it sits
Hue83° of 360°
Saturation94%
Lightness51%
Temperature
Warm ← → Cool44% 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#9df70c
RGBrgb(157, 247, 12)
HSLhsl(83, 94%, 51%)
CMYKcmyk(36%, 0%, 95%, 3%)
LABlab(88.8 -55.6 84.5)
LCHlch(88.8 101.2 123.3)
OKLCHoklch(0.885 0.241 131.3)
Decimal10352396
Display P3color(display-p3 0.616 0.969 0.047)

Copy-ready code

/* CSS */
color: #9df70c;
background-color: #9df70c;
/* Tailwind (arbitrary) */
class="text-[#9df70c] bg-[#9df70c]"
/* SCSS */
$brand: #9df70c;
/* SwiftUI */
Color(red: 0.616, green: 0.969, blue: 0.047)
/* Android */
Color.parseColor("#9df70c")
/* Flutter */
Color(0xFF9DF70C)
/* Python / OpenCV (BGR) */
(12, 247, 157)

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

Accessibility — WCAG contrast

Aa
#9df70c on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#9df70c on black: 15.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE300
deuteranopia · #F6DD38
tritanopia · #A0ECD2

Color scale — 50 to 950

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

#F9FDF2
#F2FBE4
#E4FAC2
#D3FB92
#BDFA5C
#A7F826
#9df70c
#7CC507
#639E05
#497208
#2E4705
Base = 600Lightest = 50 · #F9FDF2Darkest = 950 · #2E4705
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F2FBE4;
  --brand-200: #E4FAC2;
  --brand-300: #D3FB92;
  --brand-400: #BDFA5C;
  --brand-500: #A7F826;
  --brand-600: #9df70c;
  --brand-700: #7CC507;
  --brand-800: #639E05;
  --brand-900: #497208;
  --brand-950: #2E4705;
  --brand: #9df70c;
  --brand-ink: #000000;
}

Colors that work with #9df70c

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#DBEDC0
Hairlines and dividers
Muted text#7C9B4B
Captions on the surface
Accent#2807FC
Second voice, not a rival
Dark variant#4E7B04
Hover, pressed, headers
Light variant#F5FEE6
Selected rows, tints
Dark surface#1E2414
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 #9df70c

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#660CF7
Analogous left#F7DC0C
Analogous right#28F70C
Split-complement 1#0C28F7
Split-complement 2#DC0CF7
Triadic 1#0C9DF7
Triadic 2#F70C9D
Tetradic#0CF7DC

RGB percentages

Red61.6%
Green96.9%
Blue4.7%

CMYK percentages

Cyan36.4%
Magenta0.0%
Yellow95.1%
Key (black)3.1%

Color previews

#9df70c text on a black background

contrast 15.74:1

Card sample

#9df70c text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 247, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 247, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df70c;
background: linear-gradient(135deg, #9df70c, #0CF718);

Monochromatic scale

Palettes built from #9df70c

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.

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

#9df70c, answered

What color is #9df70c?

#9df70c is a balanced electric green, closest to Green Yellow (ΔE2000 2.2). It sits at 83° on the hue wheel with 94% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #9df70c?

rgb(157, 247, 12) — 157 red, 247 green and 12 blue out of 255, or 61.6% / 96.9% / 4.7% by channel.

Is #9df70c a light or a dark color?

It is a light color. Relative luminance is 0.7372 and perceived brightness is 82%, so black text on it reaches 15.74:1.

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

Black. It scores 15.74:1 against #9df70c, versus 1.33:1 for white — AAA at any size.

What is the complementary color of #9df70c?

#660CF7 sits directly opposite on the wheel. Softer options are the split-complements #0C28F7 and #DC0CF7, which give the same contrast with far less vibration.

What colors go well with #9df70c?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7C9B4B for secondary text, #2807FC as an accent and #4E7B04 for hover and pressed states. For a palette, the analogous pair #F7DC0C and #28F70C stays calm, while #660CF7 is the loudest partner.

What is #9df70c in CMYK for printing?

cmyk(36%, 0%, 95%, 3%). 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 #9df70c warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F3F70C; nudged cooler, #46F90A.

Work with #9df70c in the Color Lab