Skip to content

#bec921

a balanced, vivid yellow · cool · closest name: gold

RGB
190, 201, 33
HSL
64°, 72%, 46%
CMYK
6, 0, 84, 21
Luminance
0.5283

Every format

HEX#bec921
RGBrgb(190, 201, 33)
HSLhsl(64, 72%, 46%)
CMYKcmyk(6%, 0%, 84%, 21%)
LABlab(77.8 -22.2 73.3)
LCHlch(77.8 76.6 106.8)
OKLCHoklch(0.801 0.172 113.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.5%
Green78.8%
Blue12.9%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow83.6%
Key (black)21.2%

Color previews

#bec921 text on a black background

contrast 11.57:1

Card sample

#bec921 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(190, 201, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 201, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bec921;
background: linear-gradient(135deg, #bec921, #4EC921);

Monochromatic scale

Palettes built from #bec921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bec921 in the Color Lab