Skip to content

#cceb2f

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

RGB
204, 235, 47
HSL
70°, 83%, 55%
CMYK
13, 0, 80, 8
Luminance
0.7246

Every format

HEX#cceb2f
RGBrgb(204, 235, 47)
HSLhsl(70, 83%, 55%)
CMYKcmyk(13%, 0%, 80%, 8%)
LABlab(88.2 -32.1 79.3)
LCHlch(88.2 85.5 112.1)
OKLCHoklch(0.887 0.198 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cceb2f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#cceb2f on black: 15.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green92.2%
Blue18.4%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow80.0%
Key (black)7.8%

Color previews

#cceb2f text on a black background

contrast 15.49:1

Card sample

#cceb2f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cceb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cceb2f in the Color Lab