Skip to content

#e4ce2f

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

RGB
228, 206, 47
HSL
53°, 77%, 54%
CMYK
0, 10, 79, 11
Luminance
0.6084

Every format

HEX#e4ce2f
RGBrgb(228, 206, 47)
HSLhsl(53, 77%, 54%)
CMYKcmyk(0%, 10%, 79%, 11%)
LABlab(82.3 -8.1 74.8)
LCHlch(82.3 75.2 96.2)
OKLCHoklch(0.845 0.165 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4ce2f on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#e4ce2f on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green80.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta9.6%
Yellow79.4%
Key (black)10.6%

Color previews

#e4ce2f text on a black background

contrast 13.17:1

Card sample

#e4ce2f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(228, 206, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(228, 206, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e4ce2f;
background: linear-gradient(135deg, #e4ce2f, #81E42F);

Monochromatic scale

Palettes built from #e4ce2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ce2f in the Color Lab