Skip to content

#daf25f

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

RGB
218, 242, 95
HSL
70°, 85%, 66%
CMYK
10, 0, 61, 5
Luminance
0.7924

Every format

HEX#daf25f
RGBrgb(218, 242, 95)
HSLhsl(70, 85%, 66%)
CMYKcmyk(10%, 0%, 61%, 5%)
LABlab(91.3 -27.4 66.3)
LCHlch(91.3 71.7 112.4)
OKLCHoklch(0.916 0.172 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green94.9%
Blue37.3%

CMYK percentages

Cyan9.9%
Magenta0.0%
Yellow60.7%
Key (black)5.1%

Color previews

#daf25f text on a black background

contrast 16.85:1

Card sample

#daf25f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daf25f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf25f in the Color Lab