Skip to content

#cfed2f

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

RGB
207, 237, 47
HSL
70°, 84%, 56%
CMYK
13, 0, 80, 7
Luminance
0.7404

Every format

HEX#cfed2f
RGBrgb(207, 237, 47)
HSLhsl(70, 84%, 56%)
CMYKcmyk(13%, 0%, 80%, 7%)
LABlab(88.9 -31.9 80.0)
LCHlch(88.9 86.1 111.7)
OKLCHoklch(0.894 0.199 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfed2f on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#cfed2f on black: 15.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green92.9%
Blue18.4%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow80.2%
Key (black)7.1%

Color previews

#cfed2f text on a black background

contrast 15.81:1

Card sample

#cfed2f text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 237, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 237, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfed2f;
background: linear-gradient(135deg, #cfed2f, #50ED2F);

Monochromatic scale

Palettes built from #cfed2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfed2f in the Color Lab