Skip to content

#edcd2f

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

RGB
237, 205, 47
HSL
50°, 84%, 56%
CMYK
0, 14, 80, 7
Luminance
0.6187

Every format

HEX#edcd2f
RGBrgb(237, 205, 47)
HSLhsl(50, 84%, 56%)
CMYKcmyk(0%, 14%, 80%, 7%)
LABlab(82.8 -3.8 75.6)
LCHlch(82.8 75.7 92.8)
OKLCHoklch(0.851 0.164 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edcd2f on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#edcd2f on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green80.4%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta13.5%
Yellow80.2%
Key (black)7.1%

Color previews

#edcd2f text on a black background

contrast 13.37:1

Card sample

#edcd2f text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(237, 205, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(237, 205, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #edcd2f;
background: linear-gradient(135deg, #edcd2f, #8EED2F);

Monochromatic scale

Palettes built from #edcd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edcd2f in the Color Lab