Skip to content

#ccf3af

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

RGB
204, 243, 175
HSL
94°, 74%, 82%
CMYK
16, 0, 28, 5
Luminance
0.8003

Every format

HEX#ccf3af
RGBrgb(204, 243, 175)
HSLhsl(94, 74%, 82%)
CMYKcmyk(16%, 0%, 28%, 5%)
LABlab(91.7 -24.4 28.8)
LCHlch(91.7 37.7 130.3)
OKLCHoklch(0.920 0.098 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf3af on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ccf3af on black: 17.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green95.3%
Blue68.6%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow28.0%
Key (black)4.7%

Color previews

#ccf3af text on a black background

contrast 17.01:1

Card sample

#ccf3af text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 243, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 243, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf3af;
background: linear-gradient(135deg, #ccf3af, #AFF3BF);

Monochromatic scale

Palettes built from #ccf3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf3af in the Color Lab