#c9df50
a balanced, vivid yellow · cool · closest name: khaki
RGB
201, 223, 80
HSL
69°, 69%, 59%
CMYK
10, 0, 64, 13
Luminance
0.6577
Every format
| HEX | #c9df50 |
| RGB | rgb(201, 223, 80) |
| HSL | hsl(69, 69%, 59%) |
| CMYK | cmyk(10%, 0%, 64%, 13%) |
| LAB | lab(84.9 -26.1 65.1) |
| LCH | lch(84.9 70.1 111.8) |
| OKLCH | oklch(0.861 0.167 117.5) |
Copy-ready code
/* CSS */
color: #c9df50;
background-color: #c9df50;
/* Tailwind (arbitrary) */
class="text-[#c9df50] bg-[#c9df50]"
/* SCSS */
$brand: #c9df50;
/* SwiftUI */
Color(red: 0.788, green: 0.875, blue: 0.314)
/* Android */
Color.parseColor("#c9df50")Accessibility — WCAG contrast
Aa
#c9df50 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c9df50 on black: 14.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green87.5%
Blue31.4%
CMYK percentages
Cyan9.9%
Magenta0.0%
Yellow64.1%
Key (black)12.5%
Color previews
#c9df50 text on a black background
contrast 14.15:1
Card sample
#c9df50 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c9df50;
Background color
Panel with #c9df50 background
background-color: #c9df50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c9df50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 223, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 223, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9df50; background: linear-gradient(135deg, #c9df50, #6ADF50);