Skip to content

#9df313

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

RGB
157, 243, 19
HSL
83°, 90%, 51%
CMYK
35, 0, 92, 5
Luminance
0.7132

At a glance

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

Hex
#9df313
Hue
83°
green
Saturation
90%
electric
Lightness
51%
balanced
Brightness
95%
HSV value
Perceived
80%
weighted brightness
Luminance
0.7132
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.26:1
Closest name
Green Yellow
ΔE2000 2.7
Where it sits
Hue83° of 360°
Saturation90%
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#9df313
RGBrgb(157, 243, 19)
HSLhsl(83, 90%, 51%)
CMYKcmyk(35%, 0%, 92%, 5%)
LABlab(87.6 -53.9 82.9)
LCHlch(87.6 98.9 123.0)
OKLCHoklch(0.875 0.236 130.9)
Decimal10351379
Display P3color(display-p3 0.616 0.953 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9df313 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#9df313 on black: 15.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE000
deuteranopia · #F3DA39
tritanopia · #A0E8CF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9df313 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
#F2FBE5
#E4F8C3
#D3FA94
#BDF75F
#A6F429
#9df313
#7BC20A
#639B08
#49700A
#2E4606
Base = 600Lightest = 50 · #F9FDF2Darkest = 950 · #2E4606
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F2FBE5;
  --brand-200: #E4F8C3;
  --brand-300: #D3FA94;
  --brand-400: #BDF75F;
  --brand-500: #A6F429;
  --brand-600: #9df313;
  --brand-700: #7BC20A;
  --brand-800: #639B08;
  --brand-900: #49700A;
  --brand-950: #2E4606;
  --brand: #9df313;
  --brand-ink: #000000;
}

Colors that work with #9df313

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#2D0EF8
Second voice, not a rival
Dark variant#4D7906
Hover, pressed, headers
Light variant#F5FEE7
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 #9df313

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#6913F3
Analogous left#F3D913
Analogous right#2DF313
Split-complement 1#132DF3
Split-complement 2#D913F3
Triadic 1#139DF3
Triadic 2#F3139D
Tetradic#13F3D9

RGB percentages

Red61.6%
Green95.3%
Blue7.5%

CMYK percentages

Cyan35.4%
Magenta0.0%
Yellow92.2%
Key (black)4.7%

Color previews

#9df313 text on a black background

contrast 15.26:1

Card sample

#9df313 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9df313

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.

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

#9df313, answered

What color is #9df313?

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

What is the RGB value of #9df313?

rgb(157, 243, 19) — 157 red, 243 green and 19 blue out of 255, or 61.6% / 95.3% / 7.5% by channel.

Is #9df313 a light or a dark color?

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

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

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

What is the complementary color of #9df313?

#6913F3 sits directly opposite on the wheel. Softer options are the split-complements #132DF3 and #D913F3, which give the same contrast with far less vibration.

What colors go well with #9df313?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7C9B4B for secondary text, #2D0EF8 as an accent and #4D7906 for hover and pressed states. For a palette, the analogous pair #F3D913 and #2DF313 stays calm, while #6913F3 is the loudest partner.

What is #9df313 in CMYK for printing?

cmyk(35%, 0%, 92%, 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 #9df313 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 #EFF313; nudged cooler, #4AF511.

Work with #9df313 in the Color Lab