Skip to content

#c8df48

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

RGB
200, 223, 72
HSL
69°, 70%, 58%
CMYK
10, 0, 68, 13
Luminance
0.6552

Every format

HEX#c8df48
RGBrgb(200, 223, 72)
HSLhsl(69, 70%, 58%)
CMYKcmyk(10%, 0%, 68%, 13%)
LABlab(84.8 -27.0 68.0)
LCHlch(84.8 73.2 111.6)
OKLCHoklch(0.859 0.172 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.4%
Green87.5%
Blue28.2%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow67.7%
Key (black)12.5%

Color previews

#c8df48 text on a black background

contrast 14.10:1

Card sample

#c8df48 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8df48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8df48 in the Color Lab