Skip to content

#bebf21

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

RGB
190, 191, 33
HSL
60°, 71%, 44%
CMYK
1, 0, 83, 25
Luminance
0.4832

Every format

HEX#bebf21
RGBrgb(190, 191, 33)
HSLhsl(60, 71%, 44%)
CMYKcmyk(1%, 0%, 83%, 25%)
LABlab(75.0 -17.2 71.0)
LCHlch(75.0 73.0 103.6)
OKLCHoklch(0.779 0.163 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bebf21 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#bebf21 on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green74.9%
Blue12.9%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow82.7%
Key (black)25.1%

Color previews

#bebf21 text on a black background

contrast 10.66:1

Card sample

#bebf21 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bebf21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bebf21 in the Color Lab