Skip to content

#c9df3b

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

RGB
201, 223, 59
HSL
68°, 72%, 55%
CMYK
10, 0, 74, 13
Luminance
0.6551

Every format

HEX#c9df3b
RGBrgb(201, 223, 59)
HSLhsl(68, 72%, 55%)
CMYKcmyk(10%, 0%, 74%, 13%)
LABlab(84.8 -27.2 72.6)
LCHlch(84.8 77.5 110.6)
OKLCHoklch(0.859 0.180 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.8%
Green87.5%
Blue23.1%

CMYK percentages

Cyan9.9%
Magenta0.0%
Yellow73.5%
Key (black)12.5%

Color previews

#c9df3b text on a black background

contrast 14.10:1

Card sample

#c9df3b text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 223, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 223, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9df3b;
background: linear-gradient(135deg, #c9df3b, #5CDF3B);

Monochromatic scale

Palettes built from #c9df3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9df3b in the Color Lab