#b2cf7a
a balanced, vivid green · neutral · closest name: Yellow Green
At a glance
Every number on this page in one read: what #b2cf7a is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #b2cf7a |
| RGB | rgb(178, 207, 122) |
| HSL | hsl(81, 47%, 65%) |
| CMYK | cmyk(14%, 0%, 41%, 19%) |
| LAB | lab(79.3 -23.6 39.0) |
| LCH | lch(79.3 45.6 121.1) |
| OKLCH | oklch(0.814 0.115 124.3) |
| Decimal | 11718522 |
| Display P3 | color(display-p3 0.698 0.812 0.478) |
Copy-ready code
/* CSS */
color: #b2cf7a;
background-color: #b2cf7a;
/* Tailwind (arbitrary) */
class="text-[#b2cf7a] bg-[#b2cf7a]"
/* SCSS */
$brand: #b2cf7a;
/* SwiftUI */
Color(red: 0.698, green: 0.812, blue: 0.478)
/* Android */
Color.parseColor("#b2cf7a")
/* Flutter */
Color(0xFFB2CF7A)
/* Python / OpenCV (BGR) */
(122, 207, 178)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #b2cf7a 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.
:root {
--brand-50: #F8FAF5;
--brand-100: #F1F5EA;
--brand-200: #E2ECD0;
--brand-300: #CFE1AD;
--brand-400: #b2cf7a;
--brand-500: #9FC45A;
--brand-600: #8DB441;
--brand-700: #759636;
--brand-800: #5E782B;
--brand-900: #465823;
--brand-950: #2B3716;
--brand: #b2cf7a;
--brand-ink: #000000;
}Colors that work with #b2cf7a
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #b2cf7a
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #977ACF | Directly opposite — maximum tension | |
| Analogous left | #CFC27A | Neighbour, quieter | |
| Analogous right | #87CF7A | Neighbour, quieter | |
| Split-complement 1 | #7A87CF | Contrast without the clash | |
| Split-complement 2 | #C27ACF | Contrast without the clash | |
| Triadic 1 | #7AB2CF | Even thirds — balanced and loud | |
| Triadic 2 | #CF7AB2 | Even thirds — balanced and loud | |
| Tetradic | #7ACFC2 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#b2cf7a text on a black background
contrast 12.10:1
#b2cf7a text on a white background
contrast 1.74:1
CSS3 live lab
The quick brown fox
color: #b2cf7a;
background-color: #b2cf7a;
Glowing headline
text-shadow: 2px 2px 8px #b2cf7a;
Soft neon halo
text-shadow: 0 0 14px rgba(178, 207, 122, 0.45);
box-shadow: 0 12px 32px -8px rgba(178, 207, 122, 0.45);
border: 3px solid #b2cf7a; background: linear-gradient(135deg, #b2cf7a, #7ACF7B);
Monochromatic scale
Palettes built from #b2cf7a
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.
Closest color with a full write-up: Pistachio (#93c572) — ΔE2000 5.5 away, with its history, psychology and brand usage.
#b2cf7a in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#b2cf7a, answered
What color is #b2cf7a?
#b2cf7a is a balanced vivid green, closest to Yellow Green (ΔE2000 8.6). It sits at 81° on the hue wheel with 47% saturation and 65% lightness, which reads as neutral.
What is the RGB value of #b2cf7a?
rgb(178, 207, 122) — 178 red, 207 green and 122 blue out of 255, or 69.8% / 81.2% / 47.8% by channel.
Is #b2cf7a a light or a dark color?
It is a light color. Relative luminance is 0.5550 and perceived brightness is 75%, so black text on it reaches 12.10:1.
Should I use black or white text on #b2cf7a?
Black. It scores 12.10:1 against #b2cf7a, versus 1.74:1 for white — AAA at any size.
What is the complementary color of #b2cf7a?
#977ACF sits directly opposite on the wheel. Softer options are the split-complements #7A87CF and #C27ACF, which give the same contrast with far less vibration.
What colors go well with #b2cf7a?
For interface work: #F8FAF4 as the surface, #DCE9C3 for borders, #7F9B4B for secondary text, #7F76D3 as an accent and #495E22 for hover and pressed states. For a palette, the analogous pair #CFC27A and #87CF7A stays calm, while #977ACF is the loudest partner.
What is #b2cf7a in CMYK for printing?
cmyk(14%, 0%, 41%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #b2cf7a 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 #CFCD7A; nudged cooler, #92D178.