Skip to content

#b2d52d

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

RGB
178, 213, 45
HSL
73°, 67%, 51%
CMYK
16, 0, 79, 17
Luminance
0.5724

At a glance

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

Hex
#b2d52d
Hue
73°
green
Saturation
67%
vivid
Lightness
51%
balanced
Brightness
84%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5724
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.45:1
Closest name
Yellow Green
ΔE2000 4.3
Where it sits
Hue73° of 360°
Saturation67%
Lightness51%
Temperature
Warm ← → Cool35% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b2d52d
RGBrgb(178, 213, 45)
HSLhsl(73, 67%, 51%)
CMYKcmyk(16%, 0%, 79%, 17%)
LABlab(80.3 -32.4 72.1)
LCHlch(80.3 79.1 114.2)
OKLCHoklch(0.819 0.185 121.4)
Decimal11719981
Display P3color(display-p3 0.698 0.835 0.176)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2d52d on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#b2d52d on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2C800
deuteranopia · #DEC73E
tritanopia · #BCCAB6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2d52d is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFBF3
#F4F8E8
#E9F1CA
#DDECA1
#CCE373
#BADA44
#b2d52d
#8EAA22
#71881B
#536318
#343E0F
Base = 600Lightest = 50 · #FAFBF3Darkest = 950 · #343E0F
:root {
  --brand-50: #FAFBF3;
  --brand-100: #F4F8E8;
  --brand-200: #E9F1CA;
  --brand-300: #DDECA1;
  --brand-400: #CCE373;
  --brand-500: #BADA44;
  --brand-600: #b2d52d;
  --brand-700: #8EAA22;
  --brand-800: #71881B;
  --brand-900: #536318;
  --brand-950: #343E0F;
  --brand: #b2d52d;
  --brand-ink: #000000;
}

Colors that work with #b2d52d

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#F9FAF4
Tinted page background
Border#E3EDC0
Hairlines and dividers
Muted text#8A9B4B
Captions on the surface
Accent#282FDA
Second voice, not a rival
Dark variant#596A15
Hover, pressed, headers
Light variant#F7FBEA
Selected rows, tints
Dark surface#212414
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 #b2d52d

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#502DD5
Analogous left#D5A42D
Analogous right#5ED52D
Split-complement 1#2D5ED5
Split-complement 2#A42DD5
Triadic 1#2DB2D5
Triadic 2#D52DB2
Tetradic#2DD5A4

RGB percentages

Red69.8%
Green83.5%
Blue17.6%

CMYK percentages

Cyan16.4%
Magenta0.0%
Yellow78.9%
Key (black)16.5%

Color previews

#b2d52d text on a black background

contrast 12.45:1

Card sample

#b2d52d text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 213, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 213, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2d52d;
background: linear-gradient(135deg, #b2d52d, #42D52D);

Monochromatic scale

Palettes built from #b2d52d

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.

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

#b2d52d, answered

What color is #b2d52d?

#b2d52d is a balanced vivid green, closest to Yellow Green (ΔE2000 4.3). It sits at 73° on the hue wheel with 67% saturation and 51% lightness, which reads as warm.

What is the RGB value of #b2d52d?

rgb(178, 213, 45) — 178 red, 213 green and 45 blue out of 255, or 69.8% / 83.5% / 17.6% by channel.

Is #b2d52d a light or a dark color?

It is a light color. Relative luminance is 0.5724 and perceived brightness is 75%, so black text on it reaches 12.45:1.

Should I use black or white text on #b2d52d?

Black. It scores 12.45:1 against #b2d52d, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #b2d52d?

#502DD5 sits directly opposite on the wheel. Softer options are the split-complements #2D5ED5 and #A42DD5, which give the same contrast with far less vibration.

What colors go well with #b2d52d?

For interface work: #F9FAF4 as the surface, #E3EDC0 for borders, #8A9B4B for secondary text, #282FDA as an accent and #596A15 for hover and pressed states. For a palette, the analogous pair #D5A42D and #5ED52D stays calm, while #502DD5 is the loudest partner.

What is #b2d52d in CMYK for printing?

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

Is #b2d52d warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D5BA2D; nudged cooler, #74D82A.

Work with #b2d52d in the Color Lab