Skip to content

#e2ce0c

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

RGB
226, 206, 12
HSL
54°, 90%, 47%
CMYK
0, 9, 95, 11
Luminance
0.6034

Every format

HEX#e2ce0c
RGBrgb(226, 206, 12)
HSLhsl(54, 90%, 47%)
CMYKcmyk(0%, 9%, 95%, 11%)
LABlab(82.0 -9.7 81.3)
LCHlch(82.0 81.9 96.8)
OKLCHoklch(0.842 0.175 102.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ce0c on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#e2ce0c on black: 13.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green80.8%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta8.8%
Yellow94.7%
Key (black)11.4%

Color previews

#e2ce0c text on a black background

contrast 13.07:1

Card sample

#e2ce0c text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 206, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 206, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2ce0c;
background: linear-gradient(135deg, #e2ce0c, #67E20C);

Monochromatic scale

Palettes built from #e2ce0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ce0c in the Color Lab