Skip to content

#b2cd0f

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

RGB
178, 205, 15
HSL
69°, 86%, 43%
CMYK
13, 0, 93, 20
Luminance
0.5316

Every format

HEX#b2cd0f
RGBrgb(178, 205, 15)
HSLhsl(69, 86%, 43%)
CMYKcmyk(13%, 0%, 93%, 20%)
LABlab(78.0 -29.5 76.2)
LCHlch(78.0 81.7 111.1)
OKLCHoklch(0.800 0.185 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cd0f on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#b2cd0f on black: 11.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow92.7%
Key (black)19.6%

Color previews

#b2cd0f text on a black background

contrast 11.63:1

Card sample

#b2cd0f text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cd0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cd0f in the Color Lab