Skip to content

#b3be21

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

RGB
179, 190, 33
HSL
64°, 70%, 44%
CMYK
6, 0, 83, 26
Luminance
0.4652

Every format

HEX#b3be21
RGBrgb(179, 190, 33)
HSLhsl(64, 70%, 44%)
CMYKcmyk(6%, 0%, 83%, 26%)
LABlab(73.9 -21.4 69.7)
LCHlch(73.9 72.9 107.1)
OKLCHoklch(0.767 0.165 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3be21 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#b3be21 on black: 10.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green74.5%
Blue12.9%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow82.6%
Key (black)25.5%

Color previews

#b3be21 text on a black background

contrast 10.30:1

Card sample

#b3be21 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3be21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3be21 in the Color Lab