Skip to content

#ebee7f

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

RGB
235, 238, 127
HSL
62°, 77%, 72%
CMYK
1, 0, 47, 7
Luminance
0.8034

Every format

HEX#ebee7f
RGBrgb(235, 238, 127)
HSLhsl(62, 77%, 72%)
CMYKcmyk(1%, 0%, 47%, 7%)
LABlab(91.8 -16.2 53.0)
LCHlch(91.8 55.4 107.0)
OKLCHoklch(0.924 0.135 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebee7f on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ebee7f on black: 17.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green93.3%
Blue49.8%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow46.6%
Key (black)6.7%

Color previews

#ebee7f text on a black background

contrast 17.07:1

Card sample

#ebee7f text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebee7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebee7f in the Color Lab