Skip to content

#b2cc76

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

RGB
178, 204, 118
HSL
78°, 46%, 63%
CMYK
13, 0, 42, 20
Luminance
0.5396

At a glance

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

Hex
#b2cc76
Hue
78°
green
Saturation
46%
vivid
Lightness
63%
balanced
Brightness
80%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5396
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.79:1
Closest name
Yellow Green
ΔE2000 8.3
Where it sits
Hue78° of 360°
Saturation46%
Lightness63%
Temperature
Warm ← → Cool40% 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#b2cc76
RGBrgb(178, 204, 118)
HSLhsl(78, 46%, 63%)
CMYKcmyk(13%, 0%, 42%, 20%)
LABlab(78.4 -22.6 39.9)
LCHlch(78.4 45.8 119.5)
OKLCHoklch(0.806 0.115 122.7)
Decimal11717750
Display P3color(display-p3 0.698 0.800 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cc76 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#b2cc76 on black: 11.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5C36F
deuteranopia · #D2C27A
tritanopia · #B8C4B7

Color scale — 50 to 950

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

#F8FAF5
#F2F5EA
#E3EBD1
#D1E1AD
#b2cc76
#A3C25C
#91B242
#789537
#60772C
#475723
#2D3616
Base = 400Lightest = 50 · #F8FAF5Darkest = 950 · #2D3616
:root {
  --brand-50: #F8FAF5;
  --brand-100: #F2F5EA;
  --brand-200: #E3EBD1;
  --brand-300: #D1E1AD;
  --brand-400: #b2cc76;
  --brand-500: #A3C25C;
  --brand-600: #91B242;
  --brand-700: #789537;
  --brand-800: #60772C;
  --brand-900: #475723;
  --brand-950: #2D3616;
  --brand: #b2cc76;
  --brand-ink: #000000;
}

Colors that work with #b2cc76

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#DEE9C4
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#7772D0
Second voice, not a rival
Dark variant#4B5D23
Hover, pressed, headers
Light variant#F5F8EC
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 #b2cc76

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#9076CC
Analogous left#CCBB76
Analogous right#87CC76
Split-complement 1#7687CC
Split-complement 2#BB76CC
Triadic 1#76B2CC
Triadic 2#CC76B2
Tetradic#76CCBB

RGB percentages

Red69.8%
Green80.0%
Blue46.3%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow42.2%
Key (black)20.0%

Color previews

#b2cc76 text on a black background

contrast 11.79:1

Card sample

#b2cc76 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 204, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 204, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cc76;
background: linear-gradient(135deg, #b2cc76, #79CC76);

Monochromatic scale

Palettes built from #b2cc76

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.

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

#b2cc76, answered

What color is #b2cc76?

#b2cc76 is a balanced vivid green, closest to Yellow Green (ΔE2000 8.3). It sits at 78° on the hue wheel with 46% saturation and 63% lightness, which reads as warm.

What is the RGB value of #b2cc76?

rgb(178, 204, 118) — 178 red, 204 green and 118 blue out of 255, or 69.8% / 80% / 46.3% by channel.

Is #b2cc76 a light or a dark color?

It is a light color. Relative luminance is 0.5396 and perceived brightness is 74%, so black text on it reaches 11.79:1.

Should I use black or white text on #b2cc76?

Black. It scores 11.79:1 against #b2cc76, versus 1.78:1 for white — AAA at any size.

What is the complementary color of #b2cc76?

#9076CC sits directly opposite on the wheel. Softer options are the split-complements #7687CC and #BB76CC, which give the same contrast with far less vibration.

What colors go well with #b2cc76?

For interface work: #F9FAF4 as the surface, #DEE9C4 for borders, #839B4B for secondary text, #7772D0 as an accent and #4B5D23 for hover and pressed states. For a palette, the analogous pair #CCBB76 and #87CC76 stays calm, while #9076CC is the loudest partner.

What is #b2cc76 in CMYK for printing?

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

Is #b2cc76 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CCC676; nudged cooler, #92CE74.

Work with #b2cc76 in the Color Lab