Skip to content

#efeba2

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

RGB
239, 235, 162
HSL
57°, 71%, 79%
CMYK
0, 2, 32, 6
Luminance
0.8038

Every format

HEX#efeba2
RGBrgb(239, 235, 162)
HSLhsl(57, 71%, 79%)
CMYKcmyk(0%, 2%, 32%, 6%)
LABlab(91.8 -9.5 36.0)
LCHlch(91.8 37.2 104.7)
OKLCHoklch(0.926 0.093 105.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.7%
Green92.2%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow32.2%
Key (black)6.3%

Color previews

#efeba2 text on a black background

contrast 17.08:1

Card sample

#efeba2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efeba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efeba2 in the Color Lab