Skip to content

#def080

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

RGB
222, 240, 128
HSL
70°, 79%, 72%
CMYK
8, 0, 47, 6
Luminance
0.7941

Every format

HEX#def080
RGBrgb(222, 240, 128)
HSLhsl(70, 79%, 72%)
CMYKcmyk(8%, 0%, 47%, 6%)
LABlab(91.4 -22.1 51.8)
LCHlch(91.4 56.3 113.1)
OKLCHoklch(0.918 0.139 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green94.1%
Blue50.2%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#def080 text on a black background

contrast 16.88:1

Card sample

#def080 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def080;
background: linear-gradient(135deg, #def080, #94F080);

Monochromatic scale

Palettes built from #def080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def080 in the Color Lab