Skip to content

#ecc968

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

RGB
236, 201, 104
HSL
44°, 78%, 67%
CMYK
0, 15, 56, 8
Luminance
0.6061

Every format

HEX#ecc968
RGBrgb(236, 201, 104)
HSLhsl(44, 78%, 67%)
CMYKcmyk(0%, 15%, 56%, 8%)
LABlab(82.2 0.9 52.4)
LCHlch(82.2 52.4 89.0)
OKLCHoklch(0.847 0.123 89.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc968 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#ecc968 on black: 13.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green78.8%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow55.9%
Key (black)7.5%

Color previews

#ecc968 text on a black background

contrast 13.12:1

Card sample

#ecc968 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecc968 in the Color Lab