Skip to content

#daf06b

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

RGB
218, 240, 107
HSL
70°, 82%, 68%
CMYK
9, 0, 55, 6
Luminance
0.7829

Every format

HEX#daf06b
RGBrgb(218, 240, 107)
HSLhsl(70, 82%, 68%)
CMYKcmyk(9%, 0%, 55%, 6%)
LABlab(90.9 -25.5 60.7)
LCHlch(90.9 65.8 112.8)
OKLCHoklch(0.913 0.159 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf06b on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#daf06b on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green94.1%
Blue42.0%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow55.4%
Key (black)5.9%

Color previews

#daf06b text on a black background

contrast 16.66:1

Card sample

#daf06b text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 240, 107, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 240, 107, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daf06b;
background: linear-gradient(135deg, #daf06b, #81F06B);

Monochromatic scale

Palettes built from #daf06b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf06b in the Color Lab