Skip to content

#ccdf4b

a balanced, vivid yellow · cool · closest name: khaki

RGB
204, 223, 75
HSL
68°, 70%, 58%
CMYK
9, 0, 66, 13
Luminance
0.6612

Every format

HEX#ccdf4b
RGBrgb(204, 223, 75)
HSLhsl(68, 70%, 58%)
CMYKcmyk(9%, 0%, 66%, 13%)
LABlab(85.1 -25.2 67.3)
LCHlch(85.1 71.8 110.5)
OKLCHoklch(0.863 0.169 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf4b on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf4b on black: 14.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue29.4%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow66.4%
Key (black)12.5%

Color previews

#ccdf4b text on a black background

contrast 14.22:1

Card sample

#ccdf4b text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 223, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf4b;
background: linear-gradient(135deg, #ccdf4b, #69DF4B);

Monochromatic scale

Palettes built from #ccdf4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf4b in the Color Lab