Skip to content

#baf970

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

RGB
186, 249, 112
HSL
88°, 92%, 71%
CMYK
25, 0, 55, 2
Luminance
0.7936

At a glance

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

Hex
#baf970
Hue
88°
green
Saturation
92%
electric
Lightness
71%
light
Brightness
98%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7936
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.87:1
Closest name
Green Yellow
ΔE2000 5.6
Where it sits
Hue88° of 360°
Saturation92%
Lightness71%
Temperature
Warm ← → Cool48% 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#baf970
RGBrgb(186, 249, 112)
HSLhsl(88, 92%, 71%)
CMYKcmyk(25%, 0%, 55%, 2%)
LABlab(91.4 -41.1 58.5)
LCHlch(91.4 71.5 125.1)
OKLCHoklch(0.912 0.179 129.9)
Decimal12253552
Display P3color(display-p3 0.729 0.976 0.439)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf970 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#baf970 on black: 16.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE962
deuteranopia · #FAE579
tritanopia · #BEEFDB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #baf970 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
#E0F9C3
#CBFA93
#baf970
#97F628
#83EB0A
#6DC408
#589D07
#417109
#294706
Base = 400Lightest = 50 · #F8FDF2Darkest = 950 · #294706
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F1FBE4;
  --brand-200: #E0F9C3;
  --brand-300: #CBFA93;
  --brand-400: #baf970;
  --brand-500: #97F628;
  --brand-600: #83EB0A;
  --brand-700: #6DC408;
  --brand-800: #589D07;
  --brand-900: #417109;
  --brand-950: #294706;
  --brand: #baf970;
  --brand-ink: #000000;
}

Colors that work with #baf970

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#D8EDC0
Hairlines and dividers
Muted text#769B4B
Captions on the surface
Accent#8B6DFC
Second voice, not a rival
Dark variant#447A05
Hover, pressed, headers
Light variant#F3FEE7
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 #baf970

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#AF70F9
Analogous left#F9F370
Analogous right#76F970
Split-complement 1#7076F9
Split-complement 2#F370F9
Triadic 1#70BAF9
Triadic 2#F970BA
Tetradic#70F9F3

RGB percentages

Red72.9%
Green97.6%
Blue43.9%

CMYK percentages

Cyan25.3%
Magenta0.0%
Yellow55.0%
Key (black)2.4%

Color previews

#baf970 text on a black background

contrast 16.87:1

Card sample

#baf970 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf970

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.

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

#baf970, answered

What color is #baf970?

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

What is the RGB value of #baf970?

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

Is #baf970 a light or a dark color?

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

Should I use black or white text on #baf970?

Black. It scores 16.87:1 against #baf970, versus 1.24:1 for white — AAA at any size.

What is the complementary color of #baf970?

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

What colors go well with #baf970?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #769B4B for secondary text, #8B6DFC as an accent and #447A05 for hover and pressed states. For a palette, the analogous pair #F9F370 and #76F970 stays calm, while #AF70F9 is the loudest partner.

What is #baf970 in CMYK for printing?

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

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ECF970; nudged cooler, #87FA6F.

Work with #baf970 in the Color Lab