#c9cf45
a balanced, vivid yellow · cool · closest name: khaki
RGB
201, 207, 69
HSL
63°, 59%, 54%
CMYK
3, 0, 67, 19
Luminance
0.5747
Every format
| HEX | #c9cf45 |
| RGB | rgb(201, 207, 69) |
| HSL | hsl(63, 59%, 54%) |
| CMYK | cmyk(3%, 0%, 67%, 19%) |
| LAB | lab(80.5 -19.0 64.8) |
| LCH | lch(80.5 67.5 106.3) |
| OKLCH | oklch(0.825 0.157 111.8) |
Copy-ready code
/* CSS */
color: #c9cf45;
background-color: #c9cf45;
/* Tailwind (arbitrary) */
class="text-[#c9cf45] bg-[#c9cf45]"
/* SCSS */
$brand: #c9cf45;
/* SwiftUI */
Color(red: 0.788, green: 0.812, blue: 0.271)
/* Android */
Color.parseColor("#c9cf45")Accessibility — WCAG contrast
Aa
#c9cf45 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c9cf45 on black: 12.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green81.2%
Blue27.1%
CMYK percentages
Cyan2.9%
Magenta0.0%
Yellow66.7%
Key (black)18.8%
Color previews
#c9cf45 text on a black background
contrast 12.49:1
Card sample
#c9cf45 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c9cf45;
Background color
Panel with #c9cf45 background
background-color: #c9cf45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c9cf45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 207, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 207, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9cf45; background: linear-gradient(135deg, #c9cf45, #6DCF45);