Skip to content

#bafc4b

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

RGB
186, 252, 75
HSL
82°, 97%, 64%
CMYK
26, 0, 70, 1
Luminance
0.8057

At a glance

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

Hex
#bafc4b
Hue
82°
green
Saturation
97%
electric
Lightness
64%
balanced
Brightness
99%
HSV value
Perceived
86%
weighted brightness
Luminance
0.8057
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.11:1
Closest name
Green Yellow
ΔE2000 2.2
Where it sits
Hue82° of 360°
Saturation97%
Lightness64%
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#bafc4b
RGBrgb(186, 252, 75)
HSLhsl(82, 97%, 64%)
CMYKcmyk(26%, 0%, 70%, 1%)
LABlab(91.9 -45.3 73.9)
LCHlch(91.9 86.6 121.5)
OKLCHoklch(0.915 0.210 128.0)
Decimal12254283
Display P3color(display-p3 0.729 0.988 0.294)

Copy-ready code

/* CSS */
color: #bafc4b;
background-color: #bafc4b;
/* Tailwind (arbitrary) */
class="text-[#bafc4b] bg-[#bafc4b]"
/* SCSS */
$brand: #bafc4b;
/* SwiftUI */
Color(red: 0.729, green: 0.988, blue: 0.294)
/* Android */
Color.parseColor("#bafc4b")
/* Flutter */
Color(0xFFBAFC4B)
/* Python / OpenCV (BGR) */
(75, 252, 186)

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

Accessibility — WCAG contrast

Aa
#bafc4b on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#bafc4b on black: 17.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEB2C
deuteranopia · #FFE75B
tritanopia · #C0F1D9

Color scale — 50 to 950

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

#F9FDF1
#F3FCE4
#E5FBC1
#D5FD91
#bafc4b
#AAFB22
#98F104
#7FC903
#66A103
#4B7407
#2F4804
Base = 400Lightest = 50 · #F9FDF1Darkest = 950 · #2F4804
:root {
  --brand-50: #F9FDF1;
  --brand-100: #F3FCE4;
  --brand-200: #E5FBC1;
  --brand-300: #D5FD91;
  --brand-400: #bafc4b;
  --brand-500: #AAFB22;
  --brand-600: #98F104;
  --brand-700: #7FC903;
  --brand-800: #66A103;
  --brand-900: #4B7407;
  --brand-950: #2F4804;
  --brand: #bafc4b;
  --brand-ink: #000000;
}

Colors that work with #bafc4b

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#5E48FF
Second voice, not a rival
Dark variant#4F7D02
Hover, pressed, headers
Light variant#F5FFE6
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 #bafc4b

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#8D4BFC
Analogous left#FCE64B
Analogous right#61FC4B
Split-complement 1#4B61FC
Split-complement 2#E64BFC
Triadic 1#4BBAFC
Triadic 2#FC4BBA
Tetradic#4BFCE6

RGB percentages

Red72.9%
Green98.8%
Blue29.4%

CMYK percentages

Cyan26.2%
Magenta0.0%
Yellow70.2%
Key (black)1.2%

Color previews

#bafc4b text on a black background

contrast 17.11:1

Card sample

#bafc4b text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 252, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 252, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafc4b;
background: linear-gradient(135deg, #bafc4b, #4BFC52);

Monochromatic scale

Palettes built from #bafc4b

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.

#bafc4b 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.

#bafc4b, answered

What color is #bafc4b?

#bafc4b is a balanced electric green, closest to Green Yellow (ΔE2000 2.2). It sits at 82° on the hue wheel with 97% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #bafc4b?

rgb(186, 252, 75) — 186 red, 252 green and 75 blue out of 255, or 72.9% / 98.8% / 29.4% by channel.

Is #bafc4b a light or a dark color?

It is a light color. Relative luminance is 0.8057 and perceived brightness is 86%, so black text on it reaches 17.11:1.

Should I use black or white text on #bafc4b?

Black. It scores 17.11:1 against #bafc4b, versus 1.23:1 for white — AAA at any size.

What is the complementary color of #bafc4b?

#8D4BFC sits directly opposite on the wheel. Softer options are the split-complements #4B61FC and #E64BFC, which give the same contrast with far less vibration.

What colors go well with #bafc4b?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #5E48FF as an accent and #4F7D02 for hover and pressed states. For a palette, the analogous pair #FCE64B and #61FC4B stays calm, while #8D4BFC is the loudest partner.

What is #bafc4b in CMYK for printing?

cmyk(26%, 0%, 70%, 1%). 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 #bafc4b 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 #FBFC4B; nudged cooler, #78FE49.

Work with #bafc4b in the Color Lab