#c2cd50
a balanced, vivid yellow · cool · closest name: khaki
RGB
194, 205, 80
HSL
65°, 56%, 56%
CMYK
5, 0, 61, 20
Luminance
0.5571
Every format
| HEX | #c2cd50 |
| RGB | rgb(194, 205, 80) |
| HSL | hsl(65, 56%, 56%) |
| CMYK | cmyk(5%, 0%, 61%, 20%) |
| LAB | lab(79.5 -20.2 59.1) |
| LCH | lch(79.5 62.5 108.9) |
| OKLCH | oklch(0.816 0.148 113.9) |
Copy-ready code
/* CSS */
color: #c2cd50;
background-color: #c2cd50;
/* Tailwind (arbitrary) */
class="text-[#c2cd50] bg-[#c2cd50]"
/* SCSS */
$brand: #c2cd50;
/* SwiftUI */
Color(red: 0.761, green: 0.804, blue: 0.314)
/* Android */
Color.parseColor("#c2cd50")Accessibility — WCAG contrast
Aa
#c2cd50 on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2cd50 on black: 12.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green80.4%
Blue31.4%
CMYK percentages
Cyan5.4%
Magenta0.0%
Yellow61.0%
Key (black)19.6%
Color previews
#c2cd50 text on a black background
contrast 12.14:1
Card sample
#c2cd50 text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2cd50;
Background color
Panel with #c2cd50 background
background-color: #c2cd50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2cd50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 205, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 205, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cd50; background: linear-gradient(135deg, #c2cd50, #6FCD50);