Skip to content

#ffe592

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

RGB
255, 229, 146
HSL
46°, 100%, 79%
CMYK
0, 10, 43, 0
Luminance
0.7937

Every format

HEX#ffe592
RGBrgb(255, 229, 146)
HSLhsl(46, 100%, 79%)
CMYKcmyk(0%, 10%, 43%, 0%)
LABlab(91.4 -2.0 43.6)
LCHlch(91.4 43.7 92.7)
OKLCHoklch(0.925 0.106 92.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe592 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ffe592 on black: 16.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green89.8%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta10.2%
Yellow42.7%
Key (black)0.0%

Color previews

#ffe592 text on a black background

contrast 16.87:1

Card sample

#ffe592 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 229, 146, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 229, 146, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffe592;
background: linear-gradient(135deg, #ffe592, #D0FF92);

Monochromatic scale

Palettes built from #ffe592

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe592 in the Color Lab