Skip to content

#beb821

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

RGB
190, 184, 33
HSL
58°, 70%, 44%
CMYK
0, 3, 83, 26
Luminance
0.4534

Every format

HEX#beb821
RGBrgb(190, 184, 33)
HSLhsl(58, 70%, 44%)
CMYKcmyk(0%, 3%, 83%, 26%)
LABlab(73.1 -13.7 69.3)
LCHlch(73.1 70.7 101.2)
OKLCHoklch(0.764 0.156 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#beb821 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#beb821 on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green72.2%
Blue12.9%

CMYK percentages

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

Color previews

#beb821 text on a black background

contrast 10.07:1

Card sample

#beb821 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #beb821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #beb821 in the Color Lab