Skip to content

#d7f25f

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

RGB
215, 242, 95
HSL
71°, 85%, 66%
CMYK
11, 0, 61, 5
Luminance
0.7878

Every format

HEX#d7f25f
RGBrgb(215, 242, 95)
HSLhsl(71, 85%, 66%)
CMYKcmyk(11%, 0%, 61%, 5%)
LABlab(91.1 -28.5 66.0)
LCHlch(91.1 71.9 113.4)
OKLCHoklch(0.914 0.173 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7f25f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#d7f25f on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green94.9%
Blue37.3%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow60.7%
Key (black)5.1%

Color previews

#d7f25f text on a black background

contrast 16.76:1

Card sample

#d7f25f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 242, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 242, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7f25f;
background: linear-gradient(135deg, #d7f25f, #75F25F);

Monochromatic scale

Palettes built from #d7f25f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7f25f in the Color Lab