Skip to content

#eccd70

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

RGB
236, 205, 112
HSL
45°, 77%, 68%
CMYK
0, 13, 53, 8
Luminance
0.6267

Every format

HEX#eccd70
RGBrgb(236, 205, 112)
HSLhsl(45, 77%, 68%)
CMYKcmyk(0%, 13%, 53%, 8%)
LABlab(83.3 -0.5 49.8)
LCHlch(83.3 49.8 90.6)
OKLCHoklch(0.856 0.118 91.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.4%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta13.1%
Yellow52.5%
Key (black)7.5%

Color previews

#eccd70 text on a black background

contrast 13.53:1

Card sample

#eccd70 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccd70

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccd70 in the Color Lab