Skip to content

#ebdb71

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

RGB
235, 219, 113
HSL
52°, 75%, 68%
CMYK
0, 7, 52, 8
Luminance
0.6952

Every format

HEX#ebdb71
RGBrgb(235, 219, 113)
HSLhsl(52, 75%, 68%)
CMYKcmyk(0%, 7%, 52%, 8%)
LABlab(86.8 -8.0 53.5)
LCHlch(86.8 54.1 98.5)
OKLCHoklch(0.883 0.128 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb71 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb71 on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green85.9%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow51.9%
Key (black)7.8%

Color previews

#ebdb71 text on a black background

contrast 14.90:1

Card sample

#ebdb71 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb71

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb71 in the Color Lab