Skip to content

#cdef2f

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

RGB
205, 239, 47
HSL
71°, 86%, 56%
CMYK
14, 0, 80, 6
Luminance
0.7492

Every format

HEX#cdef2f
RGBrgb(205, 239, 47)
HSLhsl(71, 86%, 56%)
CMYKcmyk(14%, 0%, 80%, 6%)
LABlab(89.3 -33.6 80.3)
LCHlch(89.3 87.0 112.7)
OKLCHoklch(0.897 0.201 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green93.7%
Blue18.4%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow80.3%
Key (black)6.3%

Color previews

#cdef2f text on a black background

contrast 15.98:1

Card sample

#cdef2f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdef2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdef2f in the Color Lab