Skip to content

#baf07f

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

RGB
186, 240, 127
HSL
89°, 79%, 72%
CMYK
23, 0, 47, 6
Luminance
0.7429

At a glance

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

Hex
#baf07f
Hue
89°
green
Saturation
79%
electric
Lightness
72%
light
Brightness
94%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7429
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.86:1
Closest name
Pale Green
ΔE2000 7.5
Where it sits
Hue89° of 360°
Saturation79%
Lightness72%
Temperature
Warm ← → Cool49% 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#baf07f
RGBrgb(186, 240, 127)
HSLhsl(89, 79%, 72%)
CMYKcmyk(23%, 0%, 47%, 6%)
LABlab(89.1 -35.6 48.9)
LCHlch(89.1 60.4 126.1)
OKLCHoklch(0.893 0.153 130.0)
Decimal12251263
Display P3color(display-p3 0.729 0.941 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf07f on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#baf07f on black: 15.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9E275
deuteranopia · #F1DE86
tritanopia · #BDE8D6

Color scale — 50 to 950

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

#F8FCF3
#F0F9E6
#DFF5C7
#C9F39B
#baf07f
#93E736
#7FDB1A
#69B715
#549211
#3F6A11
#27420A
Base = 400Lightest = 50 · #F8FCF3Darkest = 950 · #27420A
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F0F9E6;
  --brand-200: #DFF5C7;
  --brand-300: #C9F39B;
  --brand-400: #baf07f;
  --brand-500: #93E736;
  --brand-600: #7FDB1A;
  --brand-700: #69B715;
  --brand-800: #549211;
  --brand-900: #3F6A11;
  --brand-950: #27420A;
  --brand: #baf07f;
  --brand-ink: #000000;
}

Colors that work with #baf07f

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#D7EDC0
Hairlines and dividers
Muted text#749B4B
Captions on the surface
Accent#977CF3
Second voice, not a rival
Dark variant#42720D
Hover, pressed, headers
Light variant#F3FCE8
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 #baf07f

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#B57FF0
Analogous left#F0EE7F
Analogous right#82F07F
Split-complement 1#7F82F0
Split-complement 2#EE7FF0
Triadic 1#7FBAF0
Triadic 2#F07FBA
Tetradic#7FF0EE

RGB percentages

Red72.9%
Green94.1%
Blue49.8%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow47.1%
Key (black)5.9%

Color previews

#baf07f text on a black background

contrast 15.86:1

Card sample

#baf07f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 240, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf07f;
background: linear-gradient(135deg, #baf07f, #7FF090);

Monochromatic scale

Palettes built from #baf07f

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.

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

#baf07f, answered

What color is #baf07f?

#baf07f is a light electric green, closest to Pale Green (ΔE2000 7.5). It sits at 89° on the hue wheel with 79% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #baf07f?

rgb(186, 240, 127) — 186 red, 240 green and 127 blue out of 255, or 72.9% / 94.1% / 49.8% by channel.

Is #baf07f a light or a dark color?

It is a light color. Relative luminance is 0.7429 and perceived brightness is 84%, so black text on it reaches 15.86:1.

Should I use black or white text on #baf07f?

Black. It scores 15.86:1 against #baf07f, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #baf07f?

#B57FF0 sits directly opposite on the wheel. Softer options are the split-complements #7F82F0 and #EE7FF0, which give the same contrast with far less vibration.

What colors go well with #baf07f?

For interface work: #F7FAF4 as the surface, #D7EDC0 for borders, #749B4B for secondary text, #977CF3 as an accent and #42720D for hover and pressed states. For a palette, the analogous pair #F0EE7F and #82F07F stays calm, while #B57FF0 is the loudest partner.

What is #baf07f in CMYK for printing?

cmyk(23%, 0%, 47%, 6%). 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 #baf07f warm or cool?

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

Work with #baf07f in the Color Lab