Skip to content

#ffca39

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

RGB
255, 202, 57
HSL
44°, 100%, 61%
CMYK
0, 21, 78, 0
Luminance
0.6380

Every format

HEX#ffca39
RGBrgb(255, 202, 57)
HSLhsl(44, 100%, 61%)
CMYKcmyk(0%, 21%, 78%, 0%)
LABlab(83.9 5.8 74.0)
LCHlch(83.9 74.3 85.6)
OKLCHoklch(0.863 0.161 87.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffca39 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#ffca39 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green79.2%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow77.6%
Key (black)0.0%

Color previews

#ffca39 text on a black background

contrast 13.76:1

Card sample

#ffca39 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffca39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffca39 in the Color Lab