Skip to content

#c8df1f

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

RGB
200, 223, 31
HSL
67°, 76%, 50%
CMYK
10, 0, 86, 13
Luminance
0.6515

Every format

HEX#c8df1f
RGBrgb(200, 223, 31)
HSLhsl(67, 76%, 50%)
CMYKcmyk(10%, 0%, 86%, 13%)
LABlab(84.6 -28.6 79.6)
LCHlch(84.6 84.6 109.8)
OKLCHoklch(0.857 0.192 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8df1f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#c8df1f on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green87.5%
Blue12.2%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow86.1%
Key (black)12.5%

Color previews

#c8df1f text on a black background

contrast 14.03:1

Card sample

#c8df1f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8df1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8df1f in the Color Lab