#cc9600
a dark, electric yellow · warm · closest name: orange
RGB
204, 150, 0
HSL
44°, 100%, 40%
CMYK
0, 27, 100, 20
Luminance
0.3465
Every format
| HEX | #cc9600 |
| RGB | rgb(204, 150, 0) |
| HSL | hsl(44, 100%, 40%) |
| CMYK | cmyk(0%, 27%, 100%, 20%) |
| LAB | lab(65.5 9.9 69.8) |
| LCH | lch(65.5 70.5 81.9) |
| OKLCH | oklch(0.706 0.145 82.8) |
Copy-ready code
/* CSS */
color: #cc9600;
background-color: #cc9600;
/* Tailwind (arbitrary) */
class="text-[#cc9600] bg-[#cc9600]"
/* SCSS */
$brand: #cc9600;
/* SwiftUI */
Color(red: 0.800, green: 0.588, blue: 0.000)
/* Android */
Color.parseColor("#cc9600")Accessibility — WCAG contrast
Aa
#cc9600 on white: 2.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc9600 on black: 7.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green58.8%
Blue0.0%
CMYK percentages
Cyan0.0%
Magenta26.5%
Yellow100.0%
Key (black)20.0%
Color previews
#cc9600 text on a black background
contrast 7.93:1
Card sample
#cc9600 text on a white background
contrast 2.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc9600;
Background color
Panel with #cc9600 background
background-color: #cc9600;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc9600;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 150, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 150, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc9600; background: linear-gradient(135deg, #cc9600, #7ACC00);