Skip to content

#d7eb78

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

RGB
215, 235, 120
HSL
70°, 74%, 70%
CMYK
9, 0, 49, 8
Luminance
0.7522

Every format

HEX#d7eb78
RGBrgb(215, 235, 120)
HSLhsl(70, 74%, 70%)
CMYKcmyk(9%, 0%, 49%, 8%)
LABlab(89.5 -23.1 53.1)
LCHlch(89.5 57.9 113.6)
OKLCHoklch(0.901 0.142 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7eb78 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#d7eb78 on black: 16.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green92.2%
Blue47.1%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow48.9%
Key (black)7.8%

Color previews

#d7eb78 text on a black background

contrast 16.04:1

Card sample

#d7eb78 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7eb78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7eb78 in the Color Lab