Skip to content

#b2c90f

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

RGB
178, 201, 15
HSL
67°, 86%, 42%
CMYK
11, 0, 93, 21
Luminance
0.5127

Every format

HEX#b2c90f
RGBrgb(178, 201, 15)
HSLhsl(67, 86%, 42%)
CMYKcmyk(11%, 0%, 93%, 21%)
LABlab(76.8 -27.6 75.4)
LCHlch(76.8 80.3 110.1)
OKLCHoklch(0.791 0.181 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2c90f on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#b2c90f on black: 11.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green78.8%
Blue5.9%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow92.5%
Key (black)21.2%

Color previews

#b2c90f text on a black background

contrast 11.25:1

Card sample

#b2c90f text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2c90f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2c90f in the Color Lab