Skip to content

#3af90f

a balanced, electric green · neutral · closest name: Lime

RGB
58, 249, 15
HSL
109°, 95%, 52%
CMYK
77, 0, 94, 2
Luminance
0.6869

At a glance

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

Hex
#3af90f
Hue
109°
green
Saturation
95%
electric
Lightness
52%
balanced
Brightness
98%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6869
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.74:1
Closest name
Lime
ΔE2000 1.5
Where it sits
Hue109° of 360°
Saturation95%
Lightness52%
Temperature
Warm ← → Cool58% 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#3af90f
RGBrgb(58, 249, 15)
HSLhsl(109, 95%, 52%)
CMYKcmyk(77%, 0%, 94%, 2%)
LABlab(86.3 -80.4 81.0)
LCHlch(86.3 114.1 134.8)
OKLCHoklch(0.856 0.281 141.3)
Decimal3864847
Display P3color(display-p3 0.227 0.976 0.059)

Copy-ready code

/* CSS */
color: #3af90f;
background-color: #3af90f;
/* Tailwind (arbitrary) */
class="text-[#3af90f] bg-[#3af90f]"
/* SCSS */
$brand: #3af90f;
/* SwiftUI */
Color(red: 0.227, green: 0.976, blue: 0.059)
/* Android */
Color.parseColor("#3af90f")
/* Flutter */
Color(0xFF3AF90F)
/* Python / OpenCV (BGR) */
(15, 249, 58)

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

Accessibility — WCAG contrast

Aa
#3af90f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#3af90f on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE100
deuteranopia · #EBD33C
tritanopia · #00F1D4

Color scale — 50 to 950

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

#F4FDF1
#E8FBE4
#CCFAC2
#A5FC92
#78FB5B
#4BFA24
#3af90f
#29C705
#209F04
#1B7308
#114805
Base = 600Lightest = 50 · #F4FDF1Darkest = 950 · #114805
:root {
  --brand-50: #F4FDF1;
  --brand-100: #E8FBE4;
  --brand-200: #CCFAC2;
  --brand-300: #A5FC92;
  --brand-400: #78FB5B;
  --brand-500: #4BFA24;
  --brand-600: #3af90f;
  --brand-700: #29C705;
  --brand-800: #209F04;
  --brand-900: #1B7308;
  --brand-950: #114805;
  --brand: #3af90f;
  --brand-ink: #000000;
}

Colors that work with #3af90f

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#F5FAF4
Tinted page background
Border#C8EDC0
Hairlines and dividers
Muted text#599B4B
Captions on the surface
Accent#940AFE
Second voice, not a rival
Dark variant#197C03
Hover, pressed, headers
Light variant#EBFEE6
Selected rows, tints
Dark surface#172414
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 #3af90f

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#CE0FF9
Analogous left#AFF90F
Analogous right#0FF959
Split-complement 1#590FF9
Split-complement 2#F90FAF
Triadic 1#0F3AF9
Triadic 2#F90F3A
Tetradic#0FAFF9

RGB percentages

Red22.7%
Green97.6%
Blue5.9%

CMYK percentages

Cyan76.7%
Magenta0.0%
Yellow94.0%
Key (black)2.4%

Color previews

#3af90f text on a black background

contrast 14.74:1

Card sample

#3af90f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3af90f;
Background color
Panel with #3af90f background
background-color: #3af90f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3af90f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(58, 249, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 249, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3af90f;
background: linear-gradient(135deg, #3af90f, #0FF980);

Monochromatic scale

Palettes built from #3af90f

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.

#3af90f 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.

#3af90f, answered

What color is #3af90f?

#3af90f is a balanced electric green, closest to Lime (ΔE2000 1.5). It sits at 109° on the hue wheel with 95% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #3af90f?

rgb(58, 249, 15) — 58 red, 249 green and 15 blue out of 255, or 22.7% / 97.6% / 5.9% by channel.

Is #3af90f a light or a dark color?

It is a light color. Relative luminance is 0.6869 and perceived brightness is 76%, so black text on it reaches 14.74:1.

Should I use black or white text on #3af90f?

Black. It scores 14.74:1 against #3af90f, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #3af90f?

#CE0FF9 sits directly opposite on the wheel. Softer options are the split-complements #590FF9 and #F90FAF, which give the same contrast with far less vibration.

What colors go well with #3af90f?

For interface work: #F5FAF4 as the surface, #C8EDC0 for borders, #599B4B for secondary text, #940AFE as an accent and #197C03 for hover and pressed states. For a palette, the analogous pair #AFF90F and #0FF959 stays calm, while #CE0FF9 is the loudest partner.

What is #3af90f in CMYK for printing?

cmyk(77%, 0%, 94%, 2%). 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 #3af90f warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #90F90F; nudged cooler, #0DFB39.

Work with #3af90f in the Color Lab