Skip to content

#cfef0c

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

RGB
207, 239, 12
HSL
69°, 90%, 49%
CMYK
13, 0, 95, 6
Luminance
0.7502

Every format

HEX#cfef0c
RGBrgb(207, 239, 12)
HSLhsl(69, 90%, 49%)
CMYKcmyk(13%, 0%, 95%, 6%)
LABlab(89.4 -33.5 86.3)
LCHlch(89.4 92.5 111.2)
OKLCHoklch(0.897 0.210 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfef0c on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#cfef0c on black: 16.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green93.7%
Blue4.7%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow95.0%
Key (black)6.3%

Color previews

#cfef0c text on a black background

contrast 16.00:1

Card sample

#cfef0c text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 239, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfef0c;
background: linear-gradient(135deg, #cfef0c, #38EF0C);

Monochromatic scale

Palettes built from #cfef0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef0c in the Color Lab