Skip to content

#cfda39

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

RGB
207, 218, 57
HSL
64°, 69%, 54%
CMYK
5, 0, 74, 15
Luminance
0.6370

Every format

HEX#cfda39
RGBrgb(207, 218, 57)
HSLhsl(64, 69%, 54%)
CMYKcmyk(5%, 0%, 74%, 15%)
LABlab(83.8 -22.5 72.5)
LCHlch(83.8 75.9 107.2)
OKLCHoklch(0.853 0.174 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.5%
Blue22.4%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow73.9%
Key (black)14.5%

Color previews

#cfda39 text on a black background

contrast 13.74:1

Card sample

#cfda39 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfda39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfda39 in the Color Lab