Skip to content

#ebdc6f

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

RGB
235, 220, 111
HSL
53°, 76%, 68%
CMYK
0, 6, 53, 8
Luminance
0.7000

Every format

HEX#ebdc6f
RGBrgb(235, 220, 111)
HSLhsl(53, 76%, 68%)
CMYKcmyk(0%, 6%, 53%, 8%)
LABlab(87.0 -8.6 54.7)
LCHlch(87.0 55.4 99.0)
OKLCHoklch(0.885 0.131 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdc6f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#ebdc6f on black: 15.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green86.3%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow52.8%
Key (black)7.8%

Color previews

#ebdc6f text on a black background

contrast 15.00:1

Card sample

#ebdc6f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 220, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 220, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdc6f;
background: linear-gradient(135deg, #ebdc6f, #A7EB6F);

Monochromatic scale

Palettes built from #ebdc6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdc6f in the Color Lab