Skip to content

#baf98c

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

RGB
186, 249, 140
HSL
95°, 90%, 76%
CMYK
25, 0, 44, 2
Luminance
0.8008

At a glance

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

Hex
#baf98c
Hue
95°
green
Saturation
90%
electric
Lightness
76%
light
Brightness
98%
HSV value
Perceived
87%
weighted brightness
Luminance
0.8008
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.02:1
Closest name
Pale Green
ΔE2000 5.6
Where it sits
Hue95° of 360°
Saturation90%
Lightness76%
Temperature
Warm ← → Cool52% 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#baf98c
RGBrgb(186, 249, 140)
HSLhsl(95, 90%, 76%)
CMYKcmyk(25%, 0%, 44%, 2%)
LABlab(91.7 -38.1 46.0)
LCHlch(91.7 59.7 129.7)
OKLCHoklch(0.915 0.153 133.2)
Decimal12253580
Display P3color(display-p3 0.729 0.976 0.549)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf98c on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#baf98c on black: 17.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEB83
deuteranopia · #F8E592
tritanopia · #BBF1DF

Color scale — 50 to 950

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

#F6FDF2
#EEFBE5
#DAF8C3
#baf98c
#9FF75F
#7FF42A
#69E90C
#58C20A
#469B08
#35700A
#214607
Base = 300Lightest = 50 · #F6FDF2Darkest = 950 · #214607
:root {
  --brand-50: #F6FDF2;
  --brand-100: #EEFBE5;
  --brand-200: #DAF8C3;
  --brand-300: #baf98c;
  --brand-400: #9FF75F;
  --brand-500: #7FF42A;
  --brand-600: #69E90C;
  --brand-700: #58C20A;
  --brand-800: #469B08;
  --brand-900: #35700A;
  --brand-950: #214607;
  --brand: #baf98c;
  --brand-ink: #000000;
}

Colors that work with #baf98c

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#D3EDC0
Hairlines and dividers
Muted text#6C9B4B
Captions on the surface
Accent#4507C5
Second voice, not a rival
Dark variant#377906
Hover, pressed, headers
Light variant#F0FEE7
Selected rows, tints
Dark surface#1B2414
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 #baf98c

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#CB8CF9
Analogous left#F0F98C
Analogous right#8CF995
Split-complement 1#958CF9
Split-complement 2#F98CF0
Triadic 1#8CBAF9
Triadic 2#F98CBA
Tetradic#8CF0F9

RGB percentages

Red72.9%
Green97.6%
Blue54.9%

CMYK percentages

Cyan25.3%
Magenta0.0%
Yellow43.8%
Key (black)2.4%

Color previews

#baf98c text on a black background

contrast 17.02:1

Card sample

#baf98c text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf98c

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.

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

#baf98c, answered

What color is #baf98c?

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

What is the RGB value of #baf98c?

rgb(186, 249, 140) — 186 red, 249 green and 140 blue out of 255, or 72.9% / 97.6% / 54.9% by channel.

Is #baf98c a light or a dark color?

It is a light color. Relative luminance is 0.8008 and perceived brightness is 87%, so black text on it reaches 17.02:1.

Should I use black or white text on #baf98c?

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

What is the complementary color of #baf98c?

#CB8CF9 sits directly opposite on the wheel. Softer options are the split-complements #958CF9 and #F98CF0, which give the same contrast with far less vibration.

What colors go well with #baf98c?

For interface work: #F7FAF4 as the surface, #D3EDC0 for borders, #6C9B4B for secondary text, #4507C5 as an accent and #377906 for hover and pressed states. For a palette, the analogous pair #F0F98C and #8CF995 stays calm, while #CB8CF9 is the loudest partner.

What is #baf98c in CMYK for printing?

cmyk(25%, 0%, 44%, 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 #baf98c warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E2F98C; nudged cooler, #91FA8B.

Work with #baf98c in the Color Lab