#c2cf64
a balanced, vivid yellow · cool · closest name: khaki
RGB
194, 207, 100
HSL
67°, 53%, 60%
CMYK
6, 0, 52, 19
Luminance
0.5702
Every format
| HEX | #c2cf64 |
| RGB | rgb(194, 207, 100) |
| HSL | hsl(67, 53%, 60%) |
| CMYK | cmyk(6%, 0%, 52%, 19%) |
| LAB | lab(80.2 -19.6 51.0) |
| LCH | lch(80.2 54.7 111.0) |
| OKLCH | oklch(0.822 0.133 115.1) |
Copy-ready code
/* CSS */
color: #c2cf64;
background-color: #c2cf64;
/* Tailwind (arbitrary) */
class="text-[#c2cf64] bg-[#c2cf64]"
/* SCSS */
$brand: #c2cf64;
/* SwiftUI */
Color(red: 0.761, green: 0.812, blue: 0.392)
/* Android */
Color.parseColor("#c2cf64")Accessibility — WCAG contrast
Aa
#c2cf64 on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2cf64 on black: 12.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green81.2%
Blue39.2%
CMYK percentages
Cyan6.3%
Magenta0.0%
Yellow51.7%
Key (black)18.8%
Color previews
#c2cf64 text on a black background
contrast 12.40:1
Card sample
#c2cf64 text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2cf64;
Background color
Panel with #c2cf64 background
background-color: #c2cf64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2cf64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 207, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 207, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cf64; background: linear-gradient(135deg, #c2cf64, #7BCF64);