Skip to content

#ebdf3d

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

RGB
235, 223, 61
HSL
56°, 81%, 58%
CMYK
0, 5, 74, 8
Luminance
0.7077

Every format

HEX#ebdf3d
RGBrgb(235, 223, 61)
HSLhsl(56, 81%, 58%)
CMYKcmyk(0%, 5%, 74%, 8%)
LABlab(87.4 -13.1 75.3)
LCHlch(87.4 76.5 99.9)
OKLCHoklch(0.887 0.171 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green87.5%
Blue23.9%

CMYK percentages

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

Color previews

#ebdf3d text on a black background

contrast 15.15:1

Card sample

#ebdf3d text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf3d in the Color Lab