Skip to content

#efbf21

a balanced, electric yellow · cool · closest name: gold

RGB
239, 191, 33
HSL
46°, 87%, 53%
CMYK
0, 20, 86, 6
Luminance
0.5572

Every format

HEX#efbf21
RGBrgb(239, 191, 33)
HSLhsl(46, 87%, 53%)
CMYKcmyk(0%, 20%, 86%, 6%)
LABlab(79.5 4.0 76.4)
LCHlch(79.5 76.5 87.0)
OKLCHoklch(0.824 0.162 89.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efbf21 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#efbf21 on black: 12.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green74.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta20.1%
Yellow86.2%
Key (black)6.3%

Color previews

#efbf21 text on a black background

contrast 12.14:1

Card sample

#efbf21 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efbf21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efbf21 in the Color Lab