Skip to content

#ebecab

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

RGB
235, 236, 171
HSL
61°, 63%, 80%
CMYK
0, 0, 28, 8
Luminance
0.8059

Every format

HEX#ebecab
RGBrgb(235, 236, 171)
HSLhsl(61, 63%, 80%)
CMYKcmyk(0%, 0%, 28%, 8%)
LABlab(92.0 -10.3 31.5)
LCHlch(92.0 33.2 108.2)
OKLCHoklch(0.927 0.083 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green92.5%
Blue67.1%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow27.5%
Key (black)7.5%

Color previews

#ebecab text on a black background

contrast 17.12:1

Card sample

#ebecab text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebecab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebecab in the Color Lab