Skip to content

#baf968

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

RGB
186, 249, 104
HSL
86°, 92%, 69%
CMYK
25, 0, 58, 2
Luminance
0.7919

At a glance

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

Hex
#baf968
Hue
86°
green
Saturation
92%
electric
Lightness
69%
light
Brightness
98%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7919
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.84:1
Closest name
Green Yellow
ΔE2000 4.7
Where it sits
Hue86° of 360°
Saturation92%
Lightness69%
Temperature
Warm ← → Cool47% 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#baf968
RGBrgb(186, 249, 104)
HSLhsl(86, 92%, 69%)
CMYKcmyk(25%, 0%, 58%, 2%)
LABlab(91.3 -41.9 61.9)
LCHlch(91.3 74.8 124.1)
OKLCHoklch(0.911 0.186 129.2)
Decimal12253544
Display P3color(display-p3 0.729 0.976 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf968 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#baf968 on black: 16.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE958
deuteranopia · #FBE572
tritanopia · #BFEFDA

Color scale — 50 to 950

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

#F8FDF2
#F1FBE4
#E1F9C3
#CEFB93
#baf968
#9CF627
#89EB09
#72C408
#5B9D06
#447109
#2A4706
Base = 400Lightest = 50 · #F8FDF2Darkest = 950 · #2A4706
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F1FBE4;
  --brand-200: #E1F9C3;
  --brand-300: #CEFB93;
  --brand-400: #baf968;
  --brand-500: #9CF627;
  --brand-600: #89EB09;
  --brand-700: #72C408;
  --brand-800: #5B9D06;
  --brand-900: #447109;
  --brand-950: #2A4706;
  --brand: #baf968;
  --brand-ink: #000000;
}

Colors that work with #baf968

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#D9EDC0
Hairlines and dividers
Muted text#789B4B
Captions on the surface
Accent#8165FC
Second voice, not a rival
Dark variant#477B05
Hover, pressed, headers
Light variant#F4FEE6
Selected rows, tints
Dark surface#1D2414
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 #baf968

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#A768F9
Analogous left#F9F068
Analogous right#71F968
Split-complement 1#6871F9
Split-complement 2#F068F9
Triadic 1#68BAF9
Triadic 2#F968BA
Tetradic#68F9F0

RGB percentages

Red72.9%
Green97.6%
Blue40.8%

CMYK percentages

Cyan25.3%
Magenta0.0%
Yellow58.2%
Key (black)2.4%

Color previews

#baf968 text on a black background

contrast 16.84:1

Card sample

#baf968 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf968

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.

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

#baf968, answered

What color is #baf968?

#baf968 is a light electric green, closest to Green Yellow (ΔE2000 4.7). It sits at 86° on the hue wheel with 92% saturation and 69% lightness, which reads as neutral.

What is the RGB value of #baf968?

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

Is #baf968 a light or a dark color?

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

Should I use black or white text on #baf968?

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

What is the complementary color of #baf968?

#A768F9 sits directly opposite on the wheel. Softer options are the split-complements #6871F9 and #F068F9, which give the same contrast with far less vibration.

What colors go well with #baf968?

For interface work: #F8FAF4 as the surface, #D9EDC0 for borders, #789B4B for secondary text, #8165FC as an accent and #477B05 for hover and pressed states. For a palette, the analogous pair #F9F068 and #71F968 stays calm, while #A768F9 is the loudest partner.

What is #baf968 in CMYK for printing?

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

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EFF968; nudged cooler, #84FB66.

Work with #baf968 in the Color Lab