Skip to content

#cceb30

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

RGB
204, 235, 48
HSL
70°, 82%, 56%
CMYK
13, 0, 80, 8
Luminance
0.7247

Every format

HEX#cceb30
RGBrgb(204, 235, 48)
HSLhsl(70, 82%, 56%)
CMYKcmyk(13%, 0%, 80%, 8%)
LABlab(88.2 -32.1 79.0)
LCHlch(88.2 85.3 112.1)
OKLCHoklch(0.887 0.197 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green92.2%
Blue18.8%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow79.6%
Key (black)7.8%

Color previews

#cceb30 text on a black background

contrast 15.49:1

Card sample

#cceb30 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cceb30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cceb30 in the Color Lab