Skip to content

#cceb12

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

RGB
204, 235, 18
HSL
69°, 86%, 50%
CMYK
13, 0, 92, 8
Luminance
0.7230

Every format

HEX#cceb12
RGBrgb(204, 235, 18)
HSLhsl(69, 86%, 50%)
CMYKcmyk(13%, 0%, 92%, 8%)
LABlab(88.1 -32.8 84.6)
LCHlch(88.1 90.7 111.2)
OKLCHoklch(0.886 0.206 119.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green92.2%
Blue7.1%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow92.3%
Key (black)7.8%

Color previews

#cceb12 text on a black background

contrast 15.46:1

Card sample

#cceb12 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cceb12

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cceb12 in the Color Lab