Skip to content

#be9b21

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

RGB
190, 155, 33
HSL
47°, 70%, 44%
CMYK
0, 18, 83, 26
Luminance
0.3450

Every format

HEX#be9b21
RGBrgb(190, 155, 33)
HSLhsl(47, 70%, 44%)
CMYKcmyk(0%, 18%, 83%, 26%)
LABlab(65.4 1.6 62.7)
LCHlch(65.4 62.7 88.6)
OKLCHoklch(0.702 0.135 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#be9b21 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#be9b21 on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green60.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow82.6%
Key (black)25.5%

Color previews

#be9b21 text on a black background

contrast 7.90:1

Card sample

#be9b21 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #be9b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #be9b21 in the Color Lab