Skip to content

#ebdb12

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

RGB
235, 219, 18
HSL
56°, 86%, 50%
CMYK
0, 7, 92, 8
Luminance
0.6837

Every format

HEX#ebdb12
RGBrgb(235, 219, 18)
HSLhsl(56, 86%, 50%)
CMYKcmyk(0%, 7%, 92%, 8%)
LABlab(86.2 -12.3 84.1)
LCHlch(86.2 85.0 98.3)
OKLCHoklch(0.877 0.183 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb12 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb12 on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green85.9%
Blue7.1%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow92.3%
Key (black)7.8%

Color previews

#ebdb12 text on a black background

contrast 14.67:1

Card sample

#ebdb12 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 219, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 219, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdb12;
background: linear-gradient(135deg, #ebdb12, #6AEB12);

Monochromatic scale

Palettes built from #ebdb12

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb12 in the Color Lab