Skip to content

#daf985

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

RGB
218, 249, 133
HSL
76°, 91%, 75%
CMYK
12, 0, 47, 2
Luminance
0.8435

Every format

HEX#daf985
RGBrgb(218, 249, 133)
HSLhsl(76, 91%, 75%)
CMYKcmyk(12%, 0%, 47%, 2%)
LABlab(93.6 -27.4 52.0)
LCHlch(93.6 58.8 117.7)
OKLCHoklch(0.935 0.146 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf985 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#daf985 on black: 17.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green97.6%
Blue52.2%

CMYK percentages

Cyan12.4%
Magenta0.0%
Yellow46.6%
Key (black)2.4%

Color previews

#daf985 text on a black background

contrast 17.87:1

Card sample

#daf985 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 249, 133, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 249, 133, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daf985;
background: linear-gradient(135deg, #daf985, #8DF985);

Monochromatic scale

Palettes built from #daf985

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf985 in the Color Lab