Skip to content

#9cef39

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

RGB
156, 239, 57
HSL
87°, 85%, 58%
CMYK
35, 0, 76, 6
Luminance
0.6910

At a glance

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

Hex
#9cef39
Hue
87°
green
Saturation
85%
electric
Lightness
58%
balanced
Brightness
94%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6910
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.82:1
Closest name
Green Yellow
ΔE2000 3.9
Where it sits
Hue87° of 360°
Saturation85%
Lightness58%
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#9cef39
RGBrgb(156, 239, 57)
HSLhsl(87, 85%, 58%)
CMYKcmyk(35%, 0%, 76%, 6%)
LABlab(86.5 -51.4 73.9)
LCHlch(86.5 90.1 124.8)
OKLCHoklch(0.867 0.219 131.6)
Decimal10284857
Display P3color(display-p3 0.612 0.937 0.224)

Copy-ready code

/* CSS */
color: #9cef39;
background-color: #9cef39;
/* Tailwind (arbitrary) */
class="text-[#9cef39] bg-[#9cef39]"
/* SCSS */
$brand: #9cef39;
/* SwiftUI */
Color(red: 0.612, green: 0.937, blue: 0.224)
/* Android */
Color.parseColor("#9cef39")
/* Flutter */
Color(0xFF9CEF39)
/* Python / OpenCV (BGR) */
(57, 239, 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 #9cef39 · 14.82:1
Use #000000AAA at every size.
Aa
White text · 1.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.82:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9cef39 as text scores 1.42:1 on white and 14.82:1 on black.

Accessibility — WCAG contrast

Aa
#9cef39 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#9cef39 on black: 14.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9DD01
deuteranopia · #EED64C
tritanopia · #9EE5CD

Color scale — 50 to 950

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

#F8FCF2
#F1FAE5
#E0F7C5
#CBF797
#B1F263
#9cef39
#83E212
#6EBD0F
#58970C
#416D0D
#294408
Base = 500Lightest = 50 · #F8FCF2Darkest = 950 · #294408
:root {
  --brand-50: #F8FCF2;
  --brand-100: #F1FAE5;
  --brand-200: #E0F7C5;
  --brand-300: #CBF797;
  --brand-400: #B1F263;
  --brand-500: #9cef39;
  --brand-600: #83E212;
  --brand-700: #6EBD0F;
  --brand-800: #58970C;
  --brand-900: #416D0D;
  --brand-950: #294408;
  --brand: #9cef39;
  --brand-ink: #000000;
}

Colors that work with #9cef39

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#5C35F3
Second voice, not a rival
Dark variant#44760A
Hover, pressed, headers
Light variant#F3FDE7
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 #9cef39

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#8C39EF
Analogous left#EFE739
Analogous right#41EF39
Split-complement 1#3941EF
Split-complement 2#E739EF
Triadic 1#399CEF
Triadic 2#EF399C
Tetradic#39EFE7

RGB percentages

Red61.2%
Green93.7%
Blue22.4%

CMYK percentages

Cyan34.7%
Magenta0.0%
Yellow76.2%
Key (black)6.3%

Color previews

#9cef39 text on a black background

contrast 14.82:1

Card sample

#9cef39 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 239, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 239, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9cef39;
background: linear-gradient(135deg, #9cef39, #39EF4F);

Monochromatic scale

Palettes built from #9cef39

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.

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

#9cef39, answered

What color is #9cef39?

#9cef39 is a balanced electric green, closest to Green Yellow (ΔE2000 3.9). It sits at 87° on the hue wheel with 85% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #9cef39?

rgb(156, 239, 57) — 156 red, 239 green and 57 blue out of 255, or 61.2% / 93.7% / 22.4% by channel.

Is #9cef39 a light or a dark color?

It is a light color. Relative luminance is 0.6910 and perceived brightness is 80%, so black text on it reaches 14.82:1.

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

Black. It scores 14.82:1 against #9cef39, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #9cef39?

#8C39EF sits directly opposite on the wheel. Softer options are the split-complements #3941EF and #E739EF, which give the same contrast with far less vibration.

What colors go well with #9cef39?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #769B4B for secondary text, #5C35F3 as an accent and #44760A for hover and pressed states. For a palette, the analogous pair #EFE739 and #41EF39 stays calm, while #8C39EF is the loudest partner.

What is #9cef39 in CMYK for printing?

cmyk(35%, 0%, 76%, 6%). 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 #9cef39 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 #DFEF39; nudged cooler, #58F137.

Work with #9cef39 in the Color Lab