Skip to content

#ebdf92

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

RGB
235, 223, 146
HSL
52°, 69%, 75%
CMYK
0, 5, 38, 8
Luminance
0.7251

Every format

HEX#ebdf92
RGBrgb(235, 223, 146)
HSLhsl(52, 69%, 75%)
CMYKcmyk(0%, 5%, 38%, 8%)
LABlab(88.2 -6.8 39.2)
LCHlch(88.2 39.8 99.8)
OKLCHoklch(0.896 0.098 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdf92 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf92 on black: 15.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow37.9%
Key (black)7.8%

Color previews

#ebdf92 text on a black background

contrast 15.50:1

Card sample

#ebdf92 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf92 in the Color Lab