Skip to content

#cfe930

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

RGB
207, 233, 48
HSL
68°, 81%, 55%
CMYK
11, 0, 79, 9
Luminance
0.7176

Every format

HEX#cfe930
RGBrgb(207, 233, 48)
HSLhsl(68, 81%, 55%)
CMYKcmyk(11%, 0%, 79%, 9%)
LABlab(87.8 -30.0 78.8)
LCHlch(87.8 84.3 110.8)
OKLCHoklch(0.885 0.194 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfe930 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#cfe930 on black: 15.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green91.4%
Blue18.8%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow79.4%
Key (black)8.6%

Color previews

#cfe930 text on a black background

contrast 15.35:1

Card sample

#cfe930 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 233, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 233, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfe930;
background: linear-gradient(135deg, #cfe930, #54E930);

Monochromatic scale

Palettes built from #cfe930

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfe930 in the Color Lab