Skip to content

#eccf45

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

RGB
236, 207, 69
HSL
50°, 82%, 60%
CMYK
0, 12, 71, 8
Luminance
0.6289

Every format

HEX#eccf45
RGBrgb(236, 207, 69)
HSLhsl(50, 82%, 60%)
CMYKcmyk(0%, 12%, 71%, 8%)
LABlab(83.4 -4.3 68.7)
LCHlch(83.4 68.9 93.6)
OKLCHoklch(0.855 0.154 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf45 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#eccf45 on black: 13.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow70.8%
Key (black)7.5%

Color previews

#eccf45 text on a black background

contrast 13.58:1

Card sample

#eccf45 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 207, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf45;
background: linear-gradient(135deg, #eccf45, #9AEC45);

Monochromatic scale

Palettes built from #eccf45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf45 in the Color Lab