Skip to content

#b2ce0f

a dark, electric yellow · cool · closest name: yellow

RGB
178, 206, 15
HSL
69°, 86%, 43%
CMYK
14, 0, 93, 19
Luminance
0.5364

Every format

HEX#b2ce0f
RGBrgb(178, 206, 15)
HSLhsl(69, 86%, 43%)
CMYKcmyk(14%, 0%, 93%, 19%)
LABlab(78.3 -29.9 76.5)
LCHlch(78.3 82.1 111.4)
OKLCHoklch(0.802 0.186 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ce0f on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#b2ce0f on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.8%
Blue5.9%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow92.7%
Key (black)19.2%

Color previews

#b2ce0f text on a black background

contrast 11.73:1

Card sample

#b2ce0f text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ce0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ce0f in the Color Lab