Skip to content

#eec968

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

RGB
238, 201, 104
HSL
43°, 80%, 67%
CMYK
0, 16, 56, 7
Luminance
0.6095

Every format

HEX#eec968
RGBrgb(238, 201, 104)
HSLhsl(43, 80%, 67%)
CMYKcmyk(0%, 16%, 56%, 7%)
LABlab(82.3 1.7 52.6)
LCHlch(82.3 52.7 88.1)
OKLCHoklch(0.849 0.123 88.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green78.8%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta15.5%
Yellow56.3%
Key (black)6.7%

Color previews

#eec968 text on a black background

contrast 13.19:1

Card sample

#eec968 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eec968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eec968 in the Color Lab