Skip to content

#cefc3b

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

RGB
206, 252, 59
HSL
74°, 97%, 61%
CMYK
18, 0, 77, 1
Luminance
0.8306

Every format

HEX#cefc3b
RGBrgb(206, 252, 59)
HSLhsl(74, 97%, 61%)
CMYKcmyk(18%, 0%, 77%, 1%)
LABlab(93.0 -38.6 80.4)
LCHlch(93.0 89.2 115.6)
OKLCHoklch(0.927 0.210 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefc3b on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cefc3b on black: 17.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.8%
Blue23.1%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow76.6%
Key (black)1.2%

Color previews

#cefc3b text on a black background

contrast 17.61:1

Card sample

#cefc3b text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 252, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 252, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cefc3b;
background: linear-gradient(135deg, #cefc3b, #4DFC3B);

Monochromatic scale

Palettes built from #cefc3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefc3b in the Color Lab