Skip to content

#efdf2c

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

RGB
239, 223, 44
HSL
55°, 86%, 56%
CMYK
0, 7, 82, 6
Luminance
0.7131

Every format

HEX#efdf2c
RGBrgb(239, 223, 44)
HSLhsl(55, 86%, 56%)
CMYKcmyk(0%, 7%, 82%, 6%)
LABlab(87.6 -12.1 80.6)
LCHlch(87.6 81.5 98.5)
OKLCHoklch(0.889 0.178 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efdf2c on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#efdf2c on black: 15.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green87.5%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow81.6%
Key (black)6.3%

Color previews

#efdf2c text on a black background

contrast 15.26:1

Card sample

#efdf2c text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 223, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 223, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #efdf2c;
background: linear-gradient(135deg, #efdf2c, #7DEF2C);

Monochromatic scale

Palettes built from #efdf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efdf2c in the Color Lab