#ffcc7f
a light, electric orange · warm · closest name: khaki
RGB
255, 204, 127
HSL
36°, 100%, 75%
CMYK
0, 20, 50, 0
Luminance
0.6598
Every format
| HEX | #ffcc7f |
| RGB | rgb(255, 204, 127) |
| HSL | hsl(36, 100%, 75%) |
| CMYK | cmyk(0%, 20%, 50%, 0%) |
| LAB | lab(85.0 9.0 45.0) |
| LCH | lch(85.0 45.9 78.7) |
| OKLCH | oklch(0.874 0.111 76.8) |
Copy-ready code
/* CSS */
color: #ffcc7f;
background-color: #ffcc7f;
/* Tailwind (arbitrary) */
class="text-[#ffcc7f] bg-[#ffcc7f]"
/* SCSS */
$brand: #ffcc7f;
/* SwiftUI */
Color(red: 1.000, green: 0.800, blue: 0.498)
/* Android */
Color.parseColor("#ffcc7f")Accessibility — WCAG contrast
Aa
#ffcc7f on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcc7f on black: 14.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green80.0%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta20.0%
Yellow50.2%
Key (black)0.0%
Color previews
#ffcc7f text on a black background
contrast 14.20:1
Card sample
#ffcc7f text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcc7f;
Background color
Panel with #ffcc7f background
background-color: #ffcc7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcc7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 204, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 204, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcc7f; background: linear-gradient(135deg, #ffcc7f, #DDFF7F);