Skip to content

#efdf5f

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

RGB
239, 223, 95
HSL
53°, 82%, 66%
CMYK
0, 7, 60, 6
Luminance
0.7195

Every format

HEX#efdf5f
RGBrgb(239, 223, 95)
HSLhsl(53, 82%, 66%)
CMYKcmyk(0%, 7%, 60%, 6%)
LABlab(88.0 -9.7 63.0)
LCHlch(88.0 63.8 98.7)
OKLCHoklch(0.893 0.148 102.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efdf5f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#efdf5f on black: 15.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green87.5%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow60.3%
Key (black)6.3%

Color previews

#efdf5f text on a black background

contrast 15.39:1

Card sample

#efdf5f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 223, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 223, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #efdf5f;
background: linear-gradient(135deg, #efdf5f, #9FEF5F);

Monochromatic scale

Palettes built from #efdf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efdf5f in the Color Lab