Skip to content

#baf87d

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

RGB
186, 248, 125
HSL
90°, 90%, 73%
CMYK
25, 0, 50, 3
Luminance
0.7905

At a glance

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

Hex
#baf87d
Hue
90°
green
Saturation
90%
electric
Lightness
73%
light
Brightness
97%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7905
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.81:1
Closest name
Pale Green
ΔE2000 7.2
Where it sits
Hue90° of 360°
Saturation90%
Lightness73%
Temperature
Warm ← → Cool50% 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#baf87d
RGBrgb(186, 248, 125)
HSLhsl(90, 90%, 73%)
CMYKcmyk(25%, 0%, 50%, 3%)
LABlab(91.3 -39.4 52.5)
LCHlch(91.3 65.6 126.9)
OKLCHoklch(0.911 0.166 131.1)
Decimal12253309
Display P3color(display-p3 0.729 0.973 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf87d on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#baf87d on black: 16.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE972
deuteranopia · #F8E485
tritanopia · #BDEFDC

Color scale — 50 to 950

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

#F7FDF2
#F0FBE5
#DEF8C3
#baf87d
#AAF65F
#8EF42A
#7AE80C
#65C20A
#519B08
#3D700B
#264607
Base = 300Lightest = 50 · #F7FDF2Darkest = 950 · #264607
:root {
  --brand-50: #F7FDF2;
  --brand-100: #F0FBE5;
  --brand-200: #DEF8C3;
  --brand-300: #baf87d;
  --brand-400: #AAF65F;
  --brand-500: #8EF42A;
  --brand-600: #7AE80C;
  --brand-700: #65C20A;
  --brand-800: #519B08;
  --brand-900: #3D700B;
  --brand-950: #264607;
  --brand: #baf87d;
  --brand-ink: #000000;
}

Colors that work with #baf87d

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#D6EDC0
Hairlines and dividers
Muted text#729B4B
Captions on the surface
Accent#9B7AFB
Second voice, not a rival
Dark variant#3F7907
Hover, pressed, headers
Light variant#F2FEE7
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 #baf87d

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#BB7DF8
Analogous left#F8F87D
Analogous right#7DF87D
Split-complement 1#7D7DF8
Split-complement 2#F87DF8
Triadic 1#7DBAF8
Triadic 2#F87DBA
Tetradic#7DF8F8

RGB percentages

Red72.9%
Green97.3%
Blue49.0%

CMYK percentages

Cyan25.0%
Magenta0.0%
Yellow49.6%
Key (black)2.7%

Color previews

#baf87d text on a black background

contrast 16.81:1

Card sample

#baf87d text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf87d

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.

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

#baf87d, answered

What color is #baf87d?

#baf87d is a light electric green, closest to Pale Green (ΔE2000 7.2). It sits at 90° on the hue wheel with 90% saturation and 73% lightness, which reads as neutral.

What is the RGB value of #baf87d?

rgb(186, 248, 125) — 186 red, 248 green and 125 blue out of 255, or 72.9% / 97.3% / 49% by channel.

Is #baf87d a light or a dark color?

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

Should I use black or white text on #baf87d?

Black. It scores 16.81:1 against #baf87d, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #baf87d?

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

What colors go well with #baf87d?

For interface work: #F7FAF4 as the surface, #D6EDC0 for borders, #729B4B for secondary text, #9B7AFB as an accent and #3F7907 for hover and pressed states. For a palette, the analogous pair #F8F87D and #7DF87D stays calm, while #BB7DF8 is the loudest partner.

What is #baf87d in CMYK for printing?

cmyk(25%, 0%, 50%, 3%). 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 #baf87d warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E7F87D; nudged cooler, #8CF97B.

Work with #baf87d in the Color Lab