Skip to content

#cfee2f

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

RGB
207, 238, 47
HSL
70°, 85%, 56%
CMYK
13, 0, 80, 7
Luminance
0.7462

Every format

HEX#cfee2f
RGBrgb(207, 238, 47)
HSLhsl(70, 85%, 56%)
CMYKcmyk(13%, 0%, 80%, 7%)
LABlab(89.2 -32.3 80.2)
LCHlch(89.2 86.5 111.9)
OKLCHoklch(0.896 0.200 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfee2f on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#cfee2f on black: 15.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.3%
Blue18.4%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow80.3%
Key (black)6.7%

Color previews

#cfee2f text on a black background

contrast 15.92:1

Card sample

#cfee2f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfee2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfee2f in the Color Lab