#fccc7f
a light, electric orange · warm · closest name: khaki
RGB
252, 204, 127
HSL
37°, 95%, 74%
CMYK
0, 19, 50, 1
Luminance
0.6541
Every format
| HEX | #fccc7f |
| RGB | rgb(252, 204, 127) |
| HSL | hsl(37, 95%, 74%) |
| CMYK | cmyk(0%, 19%, 50%, 1%) |
| LAB | lab(84.7 7.8 44.6) |
| LCH | lch(84.7 45.2 80.1) |
| OKLCH | oklch(0.871 0.110 78.4) |
Copy-ready code
/* CSS */
color: #fccc7f;
background-color: #fccc7f;
/* Tailwind (arbitrary) */
class="text-[#fccc7f] bg-[#fccc7f]"
/* SCSS */
$brand: #fccc7f;
/* SwiftUI */
Color(red: 0.988, green: 0.800, blue: 0.498)
/* Android */
Color.parseColor("#fccc7f")Accessibility — WCAG contrast
Aa
#fccc7f on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fccc7f on black: 14.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green80.0%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta19.0%
Yellow49.6%
Key (black)1.2%
Color previews
#fccc7f text on a black background
contrast 14.08:1
Card sample
#fccc7f text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fccc7f;
Background color
Panel with #fccc7f background
background-color: #fccc7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fccc7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 204, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 204, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fccc7f; background: linear-gradient(135deg, #fccc7f, #D9FC7F);