Skip to content

#b2ce5f

a balanced, vivid green · cool · closest name: khaki

RGB
178, 206, 95
HSL
75°, 53%, 59%
CMYK
14, 0, 54, 19
Luminance
0.5443

Every format

HEX#b2ce5f
RGBrgb(178, 206, 95)
HSLhsl(75, 53%, 59%)
CMYKcmyk(14%, 0%, 54%, 19%)
LABlab(78.7 -25.9 51.4)
LCHlch(78.7 57.5 116.8)
OKLCHoklch(0.807 0.141 121.4)

Copy-ready code

/* CSS */
color: #b2ce5f;
background-color: #b2ce5f;
/* Tailwind (arbitrary) */
class="text-[#b2ce5f] bg-[#b2ce5f]"
/* SCSS */
$brand: #b2ce5f;
/* SwiftUI */
Color(red: 0.698, green: 0.808, blue: 0.373)
/* Android */
Color.parseColor("#b2ce5f")

Accessibility — WCAG contrast

Aa
#b2ce5f on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#b2ce5f on black: 11.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.8%
Blue37.3%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow53.9%
Key (black)19.2%

Color previews

#b2ce5f text on a black background

contrast 11.89:1

Card sample

#b2ce5f text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ce5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ce5f in the Color Lab