Skip to content

#eccf53

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

RGB
236, 207, 83
HSL
49°, 80%, 63%
CMYK
0, 12, 65, 8
Luminance
0.6308

Every format

HEX#eccf53
RGBrgb(236, 207, 83)
HSLhsl(49, 80%, 63%)
CMYKcmyk(0%, 12%, 65%, 8%)
LABlab(83.5 -3.6 63.3)
LCHlch(83.5 63.4 93.2)
OKLCHoklch(0.857 0.144 96.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf53 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#eccf53 on black: 13.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue32.5%

CMYK percentages

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

Color previews

#eccf53 text on a black background

contrast 13.62:1

Card sample

#eccf53 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf53

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf53 in the Color Lab