Skip to content

#c8df30

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

RGB
200, 223, 48
HSL
68°, 73%, 53%
CMYK
10, 0, 79, 13
Luminance
0.6527

Every format

HEX#c8df30
RGBrgb(200, 223, 48)
HSLhsl(68, 73%, 53%)
CMYKcmyk(10%, 0%, 79%, 13%)
LABlab(84.6 -28.1 75.7)
LCHlch(84.6 80.8 110.4)
OKLCHoklch(0.858 0.186 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8df30 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#c8df30 on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green87.5%
Blue18.8%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow78.5%
Key (black)12.5%

Color previews

#c8df30 text on a black background

contrast 14.05:1

Card sample

#c8df30 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(200, 223, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 223, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c8df30;
background: linear-gradient(135deg, #c8df30, #53DF30);

Monochromatic scale

Palettes built from #c8df30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8df30 in the Color Lab