Skip to content

#daf430

a balanced, electric yellow · cool · closest name: yellow

RGB
218, 244, 48
HSL
68°, 90%, 57%
CMYK
11, 0, 80, 4
Luminance
0.7982

Every format

HEX#daf430
RGBrgb(218, 244, 48)
HSLhsl(68, 90%, 57%)
CMYKcmyk(11%, 0%, 80%, 4%)
LABlab(91.6 -30.6 82.3)
LCHlch(91.6 87.9 110.4)
OKLCHoklch(0.917 0.201 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf430 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#daf430 on black: 16.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green95.7%
Blue18.8%

CMYK percentages

Cyan10.7%
Magenta0.0%
Yellow80.3%
Key (black)4.3%

Color previews

#daf430 text on a black background

contrast 16.96:1

Card sample

#daf430 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 244, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 244, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daf430;
background: linear-gradient(135deg, #daf430, #57F430);

Monochromatic scale

Palettes built from #daf430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf430 in the Color Lab