Skip to content

#b2ce27

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

RGB
178, 206, 39
HSL
70°, 68%, 48%
CMYK
14, 0, 81, 19
Luminance
0.5375

At a glance

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

Hex
#b2ce27
Hue
70°
green
Saturation
68%
vivid
Lightness
48%
balanced
Brightness
81%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5375
WCAG relative
Temperature
Warm
33/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.75:1
Closest name
Yellow Green
ΔE2000 4.8
Where it sits
Hue70° of 360°
Saturation68%
Lightness48%
Temperature
Warm ← → Cool33% 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#b2ce27
RGBrgb(178, 206, 39)
HSLhsl(70, 68%, 48%)
CMYKcmyk(14%, 0%, 81%, 19%)
LABlab(78.3 -29.4 72.0)
LCHlch(78.3 77.7 112.2)
OKLCHoklch(0.803 0.179 119.4)
Decimal11718183
Display P3color(display-p3 0.698 0.808 0.153)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ce27 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#b2ce27 on black: 11.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC200
deuteranopia · #D8C239
tritanopia · #BDC2B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2ce27 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
#F5F8E8
#EBF2CA
#E0EDA1
#D1E471
#C2DB42
#b2ce27
#94AC20
#77891A
#576417
#363E0E
Base = 600Lightest = 50 · #FAFBF3Darkest = 950 · #363E0E
:root {
  --brand-50: #FAFBF3;
  --brand-100: #F5F8E8;
  --brand-200: #EBF2CA;
  --brand-300: #E0EDA1;
  --brand-400: #D1E471;
  --brand-500: #C2DB42;
  --brand-600: #b2ce27;
  --brand-700: #94AC20;
  --brand-800: #77891A;
  --brand-900: #576417;
  --brand-950: #363E0E;
  --brand: #b2ce27;
  --brand-ink: #000000;
}

Colors that work with #b2ce27

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#E5EDC0
Hairlines and dividers
Muted text#8D9B4B
Captions on the surface
Accent#2230D3
Second voice, not a rival
Dark variant#5D6B14
Hover, pressed, headers
Light variant#F8FBEA
Selected rows, tints
Dark surface#222414
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 #b2ce27

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#4327CE
Analogous left#CE9727
Analogous right#5ECE27
Split-complement 1#275ECE
Split-complement 2#9727CE
Triadic 1#27B2CE
Triadic 2#CE27B2
Tetradic#27CE97

RGB percentages

Red69.8%
Green80.8%
Blue15.3%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow81.1%
Key (black)19.2%

Color previews

#b2ce27 text on a black background

contrast 11.75:1

Card sample

#b2ce27 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ce27

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.

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

#b2ce27, answered

What color is #b2ce27?

#b2ce27 is a balanced vivid green, closest to Yellow Green (ΔE2000 4.8). It sits at 70° on the hue wheel with 68% saturation and 48% lightness, which reads as warm.

What is the RGB value of #b2ce27?

rgb(178, 206, 39) — 178 red, 206 green and 39 blue out of 255, or 69.8% / 80.8% / 15.3% by channel.

Is #b2ce27 a light or a dark color?

It is a light color. Relative luminance is 0.5375 and perceived brightness is 73%, so black text on it reaches 11.75:1.

Should I use black or white text on #b2ce27?

Black. It scores 11.75:1 against #b2ce27, versus 1.79:1 for white — AAA at any size.

What is the complementary color of #b2ce27?

#4327CE sits directly opposite on the wheel. Softer options are the split-complements #275ECE and #9727CE, which give the same contrast with far less vibration.

What colors go well with #b2ce27?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #2230D3 as an accent and #5D6B14 for hover and pressed states. For a palette, the analogous pair #CE9727 and #5ECE27 stays calm, while #4327CE is the loudest partner.

What is #b2ce27 in CMYK for printing?

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

Is #b2ce27 warm or cool?

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

Work with #b2ce27 in the Color Lab