Skip to content

#ebdf2e

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

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

Every format

HEX#ebdf2e
RGBrgb(235, 223, 46)
HSLhsl(56, 83%, 55%)
CMYKcmyk(0%, 5%, 80%, 8%)
LABlab(87.3 -13.7 79.6)
LCHlch(87.3 80.8 99.7)
OKLCHoklch(0.886 0.178 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green87.5%
Blue18.0%

CMYK percentages

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

Color previews

#ebdf2e text on a black background

contrast 15.13:1

Card sample

#ebdf2e text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf2e in the Color Lab