Skip to content

#b2df5c

a balanced, vivid green · neutral · closest name: Yellow Green

RGB
178, 223, 92
HSL
81°, 67%, 62%
CMYK
20, 0, 59, 13
Luminance
0.6301

At a glance

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

Hex
#b2df5c
Hue
81°
green
Saturation
67%
vivid
Lightness
62%
balanced
Brightness
87%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6301
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.60:1
Closest name
Yellow Green
ΔE2000 5.3
Where it sits
Hue81° of 360°
Saturation67%
Lightness62%
Temperature
Warm ← → Cool42% 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#b2df5c
RGBrgb(178, 223, 92)
HSLhsl(81, 67%, 62%)
CMYKcmyk(20%, 0%, 59%, 13%)
LABlab(83.5 -34.2 58.1)
LCHlch(83.5 67.4 120.5)
OKLCHoklch(0.846 0.166 125.7)
Decimal11722588
Display P3color(display-p3 0.698 0.875 0.361)

Copy-ready code

/* CSS */
color: #b2df5c;
background-color: #b2df5c;
/* Tailwind (arbitrary) */
class="text-[#b2df5c] bg-[#b2df5c]"
/* SCSS */
$brand: #b2df5c;
/* SwiftUI */
Color(red: 0.698, green: 0.875, blue: 0.361)
/* Android */
Color.parseColor("#b2df5c")
/* Flutter */
Color(0xFFB2DF5C)
/* Python / OpenCV (BGR) */
(92, 223, 178)

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 #b2df5c · 13.60:1
Use #000000AAA at every size.
Aa
White text · 1.54:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.60:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b2df5c as text scores 1.54:1 on white and 13.60:1 on black.

Accessibility — WCAG contrast

Aa
#b2df5c on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#b2df5c on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EAD24E
deuteranopia · #E4CF65
tritanopia · #B9D5C3

Color scale — 50 to 950

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

#F9FBF3
#F2F8E8
#E4F1CA
#D3EDA1
#b2df5c
#A6DA43
#94CD28
#7BAB21
#63881B
#496317
#2E3E0F
Base = 400Lightest = 50 · #F9FBF3Darkest = 950 · #2E3E0F
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F2F8E8;
  --brand-200: #E4F1CA;
  --brand-300: #D3EDA1;
  --brand-400: #b2df5c;
  --brand-500: #A6DA43;
  --brand-600: #94CD28;
  --brand-700: #7BAB21;
  --brand-800: #63881B;
  --brand-900: #496317;
  --brand-950: #2E3E0F;
  --brand: #b2df5c;
  --brand-ink: #000000;
}

Colors that work with #b2df5c

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#DDEDC0
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#6558E3
Second voice, not a rival
Dark variant#4D6B15
Hover, pressed, headers
Light variant#F5FBEA
Selected rows, tints
Dark surface#1F2414
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 #b2df5c

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
  • 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
  • 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#895CDF
Analogous left#DFCB5C
Analogous right#71DF5C
Split-complement 1#5C71DF
Split-complement 2#CB5CDF
Triadic 1#5CB2DF
Triadic 2#DF5CB2
Tetradic#5CDFCB

RGB percentages

Red69.8%
Green87.5%
Blue36.1%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow58.7%
Key (black)12.5%

Color previews

#b2df5c text on a black background

contrast 13.60:1

Card sample

#b2df5c text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 223, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 223, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2df5c;
background: linear-gradient(135deg, #b2df5c, #5CDF5D);

Monochromatic scale

Palettes built from #b2df5c

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.

#b2df5c 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#b2df5c, answered

What color is #b2df5c?

#b2df5c is a balanced vivid green, closest to Yellow Green (ΔE2000 5.3). It sits at 81° on the hue wheel with 67% saturation and 62% lightness, which reads as neutral.

What is the RGB value of #b2df5c?

rgb(178, 223, 92) — 178 red, 223 green and 92 blue out of 255, or 69.8% / 87.5% / 36.1% by channel.

Is #b2df5c a light or a dark color?

It is a light color. Relative luminance is 0.6301 and perceived brightness is 78%, so black text on it reaches 13.60:1.

Should I use black or white text on #b2df5c?

Black. It scores 13.60:1 against #b2df5c, versus 1.54:1 for white — AAA at any size.

What is the complementary color of #b2df5c?

#895CDF sits directly opposite on the wheel. Softer options are the split-complements #5C71DF and #CB5CDF, which give the same contrast with far less vibration.

What colors go well with #b2df5c?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #6558E3 as an accent and #4D6B15 for hover and pressed states. For a palette, the analogous pair #DFCB5C and #71DF5C stays calm, while #895CDF is the loudest partner.

What is #b2df5c in CMYK for printing?

cmyk(20%, 0%, 59%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #b2df5c warm or cool?

Neutral — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFDC5C; nudged cooler, #81E15A.

Work with #b2df5c in the Color Lab