Skip to content

#ffda38

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

RGB
255, 218, 56
HSL
49°, 100%, 61%
CMYK
0, 15, 78, 0
Luminance
0.7169

Every format

HEX#ffda38
RGBrgb(255, 218, 56)
HSLhsl(49, 100%, 61%)
CMYKcmyk(0%, 15%, 78%, 0%)
LABlab(87.8 -2.5 77.9)
LCHlch(87.8 78.0 91.8)
OKLCHoklch(0.894 0.170 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffda38 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ffda38 on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.5%
Blue22.0%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow78.0%
Key (black)0.0%

Color previews

#ffda38 text on a black background

contrast 15.34:1

Card sample

#ffda38 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffda38

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffda38 in the Color Lab