Skip to content

#ebdf2f

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

RGB
235, 223, 47
HSL
56°, 83%, 55%
CMYK
0, 5, 80, 8
Luminance
0.7064

Every format

HEX#ebdf2f
RGBrgb(235, 223, 47)
HSLhsl(56, 83%, 55%)
CMYKcmyk(0%, 5%, 80%, 8%)
LABlab(87.3 -13.6 79.4)
LCHlch(87.3 80.5 99.8)
OKLCHoklch(0.886 0.178 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdf2f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf2f on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow80.0%
Key (black)7.8%

Color previews

#ebdf2f text on a black background

contrast 15.13:1

Card sample

#ebdf2f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 223, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf2f;
background: linear-gradient(135deg, #ebdf2f, #7AEB2F);

Monochromatic scale

Palettes built from #ebdf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf2f in the Color Lab