Skip to content

#beb721

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

RGB
190, 183, 33
HSL
57°, 70%, 44%
CMYK
0, 4, 83, 26
Luminance
0.4492

Every format

HEX#beb721
RGBrgb(190, 183, 33)
HSLhsl(57, 70%, 44%)
CMYKcmyk(0%, 4%, 83%, 26%)
LABlab(72.8 -13.2 69.1)
LCHlch(72.8 70.3 100.8)
OKLCHoklch(0.761 0.155 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#beb721 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#beb721 on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green71.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta3.7%
Yellow82.6%
Key (black)25.5%

Color previews

#beb721 text on a black background

contrast 9.98:1

Card sample

#beb721 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #beb721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #beb721 in the Color Lab