#c7cd50
a balanced, vivid yellow · cool · closest name: khaki
RGB
199, 205, 80
HSL
63°, 56%, 56%
CMYK
3, 0, 61, 20
Luminance
0.5638
Every format
| HEX | #c7cd50 |
| RGB | rgb(199, 205, 80) |
| HSL | hsl(63, 56%, 56%) |
| CMYK | cmyk(3%, 0%, 61%, 20%) |
| LAB | lab(79.8 -18.1 59.7) |
| LCH | lch(79.8 62.4 106.9) |
| OKLCH | oklch(0.820 0.147 111.8) |
Copy-ready code
/* CSS */
color: #c7cd50;
background-color: #c7cd50;
/* Tailwind (arbitrary) */
class="text-[#c7cd50] bg-[#c7cd50]"
/* SCSS */
$brand: #c7cd50;
/* SwiftUI */
Color(red: 0.780, green: 0.804, blue: 0.314)
/* Android */
Color.parseColor("#c7cd50")Accessibility — WCAG contrast
Aa
#c7cd50 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7cd50 on black: 12.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green80.4%
Blue31.4%
CMYK percentages
Cyan2.9%
Magenta0.0%
Yellow61.0%
Key (black)19.6%
Color previews
#c7cd50 text on a black background
contrast 12.28:1
Card sample
#c7cd50 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7cd50;
Background color
Panel with #c7cd50 background
background-color: #c7cd50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7cd50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 205, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 205, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7cd50; background: linear-gradient(135deg, #c7cd50, #74CD50);