Skip to content

#b2cc0f

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

RGB
178, 204, 15
HSL
68°, 86%, 43%
CMYK
13, 0, 93, 20
Luminance
0.5269

Every format

HEX#b2cc0f
RGBrgb(178, 204, 15)
HSLhsl(68, 86%, 43%)
CMYKcmyk(13%, 0%, 93%, 20%)
LABlab(77.7 -29.0 76.0)
LCHlch(77.7 81.4 110.9)
OKLCHoklch(0.798 0.184 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cc0f on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#b2cc0f on black: 11.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow92.6%
Key (black)20.0%

Color previews

#b2cc0f text on a black background

contrast 11.54:1

Card sample

#b2cc0f text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cc0f in the Color Lab