#cc7c11
a dark, electric orange · warm · closest name: chocolate
RGB
204, 124, 17
HSL
34°, 85%, 43%
CMYK
0, 39, 92, 20
Luminance
0.2729
Every format
| HEX | #cc7c11 |
| RGB | rgb(204, 124, 17) |
| HSL | hsl(34, 85%, 43%) |
| CMYK | cmyk(0%, 39%, 92%, 20%) |
| LAB | lab(59.3 24.3 62.7) |
| LCH | lch(59.3 67.2 68.8) |
| OKLCH | oklch(0.658 0.143 65.1) |
Copy-ready code
/* CSS */
color: #cc7c11;
background-color: #cc7c11;
/* Tailwind (arbitrary) */
class="text-[#cc7c11] bg-[#cc7c11]"
/* SCSS */
$brand: #cc7c11;
/* SwiftUI */
Color(red: 0.800, green: 0.486, blue: 0.067)
/* Android */
Color.parseColor("#cc7c11")Accessibility — WCAG contrast
Aa
#cc7c11 on white: 3.25:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc7c11 on black: 6.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green48.6%
Blue6.7%
CMYK percentages
Cyan0.0%
Magenta39.2%
Yellow91.7%
Key (black)20.0%
Color previews
#cc7c11 text on a black background
contrast 6.46:1
Card sample
#cc7c11 text on a white background
contrast 3.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc7c11;
Background color
Panel with #cc7c11 background
background-color: #cc7c11;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc7c11;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 124, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 124, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7c11; background: linear-gradient(135deg, #cc7c11, #9FCC11);