Skip to content

#bafe9f

a light, electric green · neutral · closest name: Pale Green

RGB
186, 254, 159
HSL
103°, 98%, 81%
CMYK
27, 0, 37, 0
Luminance
0.8383

At a glance

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

Hex
#bafe9f
Hue
103°
green
Saturation
98%
electric
Lightness
81%
light
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.8383
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.77:1
Closest name
Pale Green
ΔE2000 4.2
Where it sits
Hue103° of 360°
Saturation98%
Lightness81%
Temperature
Warm ← → Cool55% 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#bafe9f
RGBrgb(186, 254, 159)
HSLhsl(103, 98%, 81%)
CMYKcmyk(27%, 0%, 37%, 0%)
LABlab(93.4 -37.9 38.8)
LCHlch(93.4 54.3 134.3)
OKLCHoklch(0.930 0.141 137.2)
Decimal12254879
Display P3color(display-p3 0.729 0.996 0.624)

Copy-ready code

/* CSS */
color: #bafe9f;
background-color: #bafe9f;
/* Tailwind (arbitrary) */
class="text-[#bafe9f] bg-[#bafe9f]"
/* SCSS */
$brand: #bafe9f;
/* SwiftUI */
Color(red: 0.729, green: 0.996, blue: 0.624)
/* Android */
Color.parseColor("#bafe9f")
/* Flutter */
Color(0xFFBAFE9F)
/* Python / OpenCV (BGR) */
(159, 254, 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 #bafe9f · 17.77:1
Use #000000AAA at every size.
Aa
White text · 1.18:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.77:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #bafe9f as text scores 1.18:1 on white and 17.77:1 on black.

Accessibility — WCAG contrast

Aa
#bafe9f on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#bafe9f on black: 17.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF098
deuteranopia · #FAEAA4
tritanopia · #B8F8E6

Color scale — 50 to 950

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

#F5FDF1
#EAFCE3
#D1FBC1
#bafe9f
#87FD58
#60FD21
#47F203
#3BCA02
#2FA102
#257406
#174904
Base = 300Lightest = 50 · #F5FDF1Darkest = 950 · #174904
:root {
  --brand-50: #F5FDF1;
  --brand-100: #EAFCE3;
  --brand-200: #D1FBC1;
  --brand-300: #bafe9f;
  --brand-400: #87FD58;
  --brand-500: #60FD21;
  --brand-600: #47F203;
  --brand-700: #3BCA02;
  --brand-800: #2FA102;
  --brand-900: #257406;
  --brand-950: #174904;
  --brand: #bafe9f;
  --brand-ink: #000000;
}

Colors that work with #bafe9f

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#F6FAF4
Tinted page background
Border#CDEDC0
Hairlines and dividers
Muted text#619B4B
Captions on the surface
Accent#5F00CC
Second voice, not a rival
Dark variant#257E01
Hover, pressed, headers
Light variant#EDFFE6
Selected rows, tints
Dark surface#182414
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 #bafe9f

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#E39FFE
Analogous left#EAFE9F
Analogous right#9FFEB4
Split-complement 1#B49FFE
Split-complement 2#FE9FEA
Triadic 1#9FBAFE
Triadic 2#FE9FBA
Tetradic#9FEAFE

RGB percentages

Red72.9%
Green99.6%
Blue62.4%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow37.4%
Key (black)0.4%

Color previews

#bafe9f text on a black background

contrast 17.77:1

Card sample

#bafe9f text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 254, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 254, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafe9f;
background: linear-gradient(135deg, #bafe9f, #9FFEC3);

Monochromatic scale

Palettes built from #bafe9f

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.

#bafe9f 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#bafe9f, answered

What color is #bafe9f?

#bafe9f is a light electric green, closest to Pale Green (ΔE2000 4.2). It sits at 103° on the hue wheel with 98% saturation and 81% lightness, which reads as neutral.

What is the RGB value of #bafe9f?

rgb(186, 254, 159) — 186 red, 254 green and 159 blue out of 255, or 72.9% / 99.6% / 62.4% by channel.

Is #bafe9f a light or a dark color?

It is a light color. Relative luminance is 0.8383 and perceived brightness is 89%, so black text on it reaches 17.77:1.

Should I use black or white text on #bafe9f?

Black. It scores 17.77:1 against #bafe9f, versus 1.18:1 for white — AAA at any size.

What is the complementary color of #bafe9f?

#E39FFE sits directly opposite on the wheel. Softer options are the split-complements #B49FFE and #FE9FEA, which give the same contrast with far less vibration.

What colors go well with #bafe9f?

For interface work: #F6FAF4 as the surface, #CDEDC0 for borders, #619B4B for secondary text, #5F00CC as an accent and #257E01 for hover and pressed states. For a palette, the analogous pair #EAFE9F and #9FFEB4 stays calm, while #E39FFE is the loudest partner.

What is #bafe9f in CMYK for printing?

cmyk(27%, 0%, 37%, 0%). 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 #bafe9f warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DDFE9F; nudged cooler, #9EFFA6.

Work with #bafe9f in the Color Lab