Skip to content

#b2cd7f

a light, soft green · neutral · closest name: Dark Khaki

RGB
178, 205, 127
HSL
81°, 44%, 65%
CMYK
13, 0, 38, 20
Luminance
0.5466

At a glance

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

Hex
#b2cd7f
Hue
81°
green
Saturation
44%
soft
Lightness
65%
light
Brightness
80%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5466
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Green
Tone
Soft
Best ink
Black
11.93:1
Closest name
Dark Khaki
ΔE2000 9.5
Where it sits
Hue81° of 360°
Saturation44%
Lightness65%
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#b2cd7f
RGBrgb(178, 205, 127)
HSLhsl(81, 44%, 65%)
CMYKcmyk(13%, 0%, 38%, 20%)
LABlab(78.8 -22.0 35.9)
LCHlch(78.8 42.1 121.5)
OKLCHoklch(0.810 0.107 124.3)
Decimal11718015
Display P3color(display-p3 0.698 0.804 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cd7f on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#b2cd7f on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5C479
deuteranopia · #D1C383
tritanopia · #B7C6BA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2cd7f 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
#F1F5EA
#E2EBD1
#CEDFAE
#b2cd7f
#9EC05E
#8BB045
#749339
#5D752E
#455625
#2B3617
Base = 400Lightest = 50 · #F8FAF5Darkest = 950 · #2B3617
:root {
  --brand-50: #F8FAF5;
  --brand-100: #F1F5EA;
  --brand-200: #E2EBD1;
  --brand-300: #CEDFAE;
  --brand-400: #b2cd7f;
  --brand-500: #9EC05E;
  --brand-600: #8BB045;
  --brand-700: #749339;
  --brand-800: #5D752E;
  --brand-900: #455625;
  --brand-950: #2B3617;
  --brand: #b2cd7f;
  --brand-ink: #000000;
}

Colors that work with #b2cd7f

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#DCE8C4
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#847BD1
Second voice, not a rival
Dark variant#485C24
Hover, pressed, headers
Light variant#F4F8ED
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 #b2cd7f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#9A7FCD
Analogous left#CDC17F
Analogous right#8BCD7F
Split-complement 1#7F8BCD
Split-complement 2#C17FCD
Triadic 1#7FB2CD
Triadic 2#CD7FB2
Tetradic#7FCDC1

RGB percentages

Red69.8%
Green80.4%
Blue49.8%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow38.0%
Key (black)19.6%

Color previews

#b2cd7f text on a black background

contrast 11.93:1

Card sample

#b2cd7f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 205, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 205, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cd7f;
background: linear-gradient(135deg, #b2cd7f, #7FCD80);

Monochromatic scale

Palettes built from #b2cd7f

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.

#b2cd7f 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#b2cd7f, answered

What color is #b2cd7f?

#b2cd7f is a light soft green, closest to Dark Khaki (ΔE2000 9.5). It sits at 81° on the hue wheel with 44% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #b2cd7f?

rgb(178, 205, 127) — 178 red, 205 green and 127 blue out of 255, or 69.8% / 80.4% / 49.8% by channel.

Is #b2cd7f a light or a dark color?

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

Should I use black or white text on #b2cd7f?

Black. It scores 11.93:1 against #b2cd7f, versus 1.76:1 for white — AAA at any size.

What is the complementary color of #b2cd7f?

#9A7FCD sits directly opposite on the wheel. Softer options are the split-complements #7F8BCD and #C17FCD, which give the same contrast with far less vibration.

What colors go well with #b2cd7f?

For interface work: #F8FAF4 as the surface, #DCE8C4 for borders, #7F9B4B for secondary text, #847BD1 as an accent and #485C24 for hover and pressed states. For a palette, the analogous pair #CDC17F and #8BCD7F stays calm, while #9A7FCD is the loudest partner.

What is #b2cd7f in CMYK for printing?

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

Is #b2cd7f 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 #CDCB7F; nudged cooler, #95CF7D.

Work with #b2cd7f in the Color Lab