Skip to content

#cefb39

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

RGB
206, 251, 57
HSL
74°, 96%, 60%
CMYK
18, 0, 77, 2
Luminance
0.8241

Every format

HEX#cefb39
RGBrgb(206, 251, 57)
HSLhsl(74, 96%, 60%)
CMYKcmyk(18%, 0%, 77%, 2%)
LABlab(92.8 -38.2 80.7)
LCHlch(92.8 89.3 115.3)
OKLCHoklch(0.925 0.210 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cefb39 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cefb39 on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green98.4%
Blue22.4%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow77.3%
Key (black)1.6%

Color previews

#cefb39 text on a black background

contrast 17.48:1

Card sample

#cefb39 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cefb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cefb39 in the Color Lab