Skip to content

#cfef2c

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

RGB
207, 239, 44
HSL
70°, 86%, 56%
CMYK
13, 0, 82, 6
Luminance
0.7518

Every format

HEX#cfef2c
RGBrgb(207, 239, 44)
HSLhsl(70, 86%, 56%)
CMYKcmyk(13%, 0%, 82%, 6%)
LABlab(89.5 -32.9 81.2)
LCHlch(89.5 87.6 112.0)
OKLCHoklch(0.898 0.202 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green93.7%
Blue17.3%

CMYK percentages

Cyan13.4%
Magenta0.0%
Yellow81.6%
Key (black)6.3%

Color previews

#cfef2c text on a black background

contrast 16.04:1

Card sample

#cfef2c text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfef2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfef2c in the Color Lab