Skip to content

#ccf268

a light, electric green · cool · closest name: khaki

RGB
204, 242, 104
HSL
77°, 84%, 68%
CMYK
16, 0, 57, 5
Luminance
0.7734

Every format

HEX#ccf268
RGBrgb(204, 242, 104)
HSLhsl(77, 84%, 68%)
CMYKcmyk(16%, 0%, 57%, 5%)
LABlab(90.5 -32.1 61.3)
LCHlch(90.5 69.2 117.6)
OKLCHoklch(0.907 0.169 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf268 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#ccf268 on black: 16.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.9%
Blue40.8%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow57.0%
Key (black)5.1%

Color previews

#ccf268 text on a black background

contrast 16.47:1

Card sample

#ccf268 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 242, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 242, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf268;
background: linear-gradient(135deg, #ccf268, #70F268);

Monochromatic scale

Palettes built from #ccf268

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf268 in the Color Lab