Skip to content

#edcb2f

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

RGB
237, 203, 47
HSL
49°, 84%, 56%
CMYK
0, 14, 80, 7
Luminance
0.6092

Every format

HEX#edcb2f
RGBrgb(237, 203, 47)
HSLhsl(49, 84%, 56%)
CMYKcmyk(0%, 14%, 80%, 7%)
LABlab(82.3 -2.7 75.1)
LCHlch(82.3 75.2 92.1)
OKLCHoklch(0.847 0.163 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.9%
Green79.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow80.2%
Key (black)7.1%

Color previews

#edcb2f text on a black background

contrast 13.18:1

Card sample

#edcb2f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edcb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edcb2f in the Color Lab