Skip to content

#cfda3d

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

RGB
207, 218, 61
HSL
64°, 68%, 55%
CMYK
5, 0, 72, 15
Luminance
0.6375

Every format

HEX#cfda3d
RGBrgb(207, 218, 61)
HSLhsl(64, 68%, 55%)
CMYKcmyk(5%, 0%, 72%, 15%)
LABlab(83.8 -22.3 71.2)
LCHlch(83.8 74.6 107.4)
OKLCHoklch(0.853 0.172 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.5%
Blue23.9%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow72.0%
Key (black)14.5%

Color previews

#cfda3d text on a black background

contrast 13.75:1

Card sample

#cfda3d text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfda3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfda3d in the Color Lab