Skip to content

#9af340

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

RGB
154, 243, 64
HSL
90°, 88%, 60%
CMYK
37, 0, 74, 5
Luminance
0.7134

At a glance

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

Hex
#9af340
Hue
90°
green
Saturation
88%
electric
Lightness
60%
balanced
Brightness
95%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7134
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.27:1
Closest name
Green Yellow
ΔE2000 3.7
Where it sits
Hue90° of 360°
Saturation88%
Lightness60%
Temperature
Warm ← → Cool50% 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#9af340
RGBrgb(154, 243, 64)
HSLhsl(90, 88%, 60%)
CMYKcmyk(37%, 0%, 74%, 5%)
LABlab(87.7 -53.4 72.8)
LCHlch(87.7 90.2 126.2)
OKLCHoklch(0.876 0.221 132.8)
Decimal10154816
Display P3color(display-p3 0.604 0.953 0.251)

Copy-ready code

/* CSS */
color: #9af340;
background-color: #9af340;
/* Tailwind (arbitrary) */
class="text-[#9af340] bg-[#9af340]"
/* SCSS */
$brand: #9af340;
/* SwiftUI */
Color(red: 0.604, green: 0.953, blue: 0.251)
/* Android */
Color.parseColor("#9af340")
/* Flutter */
Color(0xFF9AF340)
/* Python / OpenCV (BGR) */
(64, 243, 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 #9af340 · 15.27:1
Use #000000AAA at every size.
Aa
White text · 1.38:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9af340 as text scores 1.38:1 on white and 15.27:1 on black.

Accessibility — WCAG contrast

Aa
#9af340 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#9af340 on black: 15.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDE019
deuteranopia · #F1D952
tritanopia · #9BE9D1

Color scale — 50 to 950

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

#F7FDF2
#F0FAE5
#DEF8C4
#C7F895
#ABF561
#9af340
#7BE60E
#67C00C
#529A0A
#3E6F0C
#264507
Base = 500Lightest = 50 · #F7FDF2Darkest = 950 · #264507
:root {
  --brand-50: #F7FDF2;
  --brand-100: #F0FAE5;
  --brand-200: #DEF8C4;
  --brand-300: #C7F895;
  --brand-400: #ABF561;
  --brand-500: #9af340;
  --brand-600: #7BE60E;
  --brand-700: #67C00C;
  --brand-800: #529A0A;
  --brand-900: #3E6F0C;
  --brand-950: #264507;
  --brand: #9af340;
  --brand-ink: #000000;
}

Colors that work with #9af340

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#F7FAF4
Tinted page background
Border#D6EDC0
Hairlines and dividers
Muted text#739B4B
Captions on the surface
Accent#6A3CF7
Second voice, not a rival
Dark variant#407808
Hover, pressed, headers
Light variant#F2FDE7
Selected rows, tints
Dark surface#1C2414
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 #9af340

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#9940F3
Analogous left#F3F240
Analogous right#41F340
Split-complement 1#4041F3
Split-complement 2#F240F3
Triadic 1#409AF3
Triadic 2#F3409A
Tetradic#40F3F2

RGB percentages

Red60.4%
Green95.3%
Blue25.1%

CMYK percentages

Cyan36.6%
Magenta0.0%
Yellow73.7%
Key (black)4.7%

Color previews

#9af340 text on a black background

contrast 15.27:1

Card sample

#9af340 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 243, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 243, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9af340;
background: linear-gradient(135deg, #9af340, #40F35D);

Monochromatic scale

Palettes built from #9af340

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.

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

#9af340, answered

What color is #9af340?

#9af340 is a balanced electric green, closest to Green Yellow (ΔE2000 3.7). It sits at 90° on the hue wheel with 88% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #9af340?

rgb(154, 243, 64) — 154 red, 243 green and 64 blue out of 255, or 60.4% / 95.3% / 25.1% by channel.

Is #9af340 a light or a dark color?

It is a light color. Relative luminance is 0.7134 and perceived brightness is 81%, so black text on it reaches 15.27:1.

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

Black. It scores 15.27:1 against #9af340, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #9af340?

#9940F3 sits directly opposite on the wheel. Softer options are the split-complements #4041F3 and #F240F3, which give the same contrast with far less vibration.

What colors go well with #9af340?

For interface work: #F7FAF4 as the surface, #D6EDC0 for borders, #739B4B for secondary text, #6A3CF7 as an accent and #407808 for hover and pressed states. For a palette, the analogous pair #F3F240 and #41F340 stays calm, while #9940F3 is the loudest partner.

What is #9af340 in CMYK for printing?

cmyk(37%, 0%, 74%, 5%). 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 #9af340 warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DCF340; nudged cooler, #57F53E.

Work with #9af340 in the Color Lab