Skip to content

#e7df0f

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

RGB
231, 223, 15
HSL
58°, 88%, 48%
CMYK
0, 4, 94, 9
Luminance
0.6980

Every format

HEX#e7df0f
RGBrgb(231, 223, 15)
HSLhsl(58, 88%, 48%)
CMYKcmyk(0%, 4%, 94%, 9%)
LABlab(86.9 -16.0 84.8)
LCHlch(86.9 86.3 100.7)
OKLCHoklch(0.882 0.187 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7df0f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#e7df0f on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green87.5%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow93.5%
Key (black)9.4%

Color previews

#e7df0f text on a black background

contrast 14.96:1

Card sample

#e7df0f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(231, 223, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 223, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7df0f;
background: linear-gradient(135deg, #e7df0f, #5FE70F);

Monochromatic scale

Palettes built from #e7df0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7df0f in the Color Lab