#ffcf80
a light, electric orange · warm · closest name: khaki
RGB
255, 207, 128
HSL
37°, 100%, 75%
CMYK
0, 19, 50, 0
Luminance
0.6744
Every format
| HEX | #ffcf80 |
| RGB | rgb(255, 207, 128) |
| HSL | hsl(37, 100%, 75%) |
| CMYK | cmyk(0%, 19%, 50%, 0%) |
| LAB | lab(85.7 7.5 45.4) |
| LCH | lch(85.7 46.0 80.6) |
| OKLCH | oklch(0.880 0.111 79.0) |
Copy-ready code
/* CSS */
color: #ffcf80;
background-color: #ffcf80;
/* Tailwind (arbitrary) */
class="text-[#ffcf80] bg-[#ffcf80]"
/* SCSS */
$brand: #ffcf80;
/* SwiftUI */
Color(red: 1.000, green: 0.812, blue: 0.502)
/* Android */
Color.parseColor("#ffcf80")Accessibility — WCAG contrast
Aa
#ffcf80 on white: 1.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffcf80 on black: 14.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green81.2%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta18.8%
Yellow49.8%
Key (black)0.0%
Color previews
#ffcf80 text on a black background
contrast 14.49:1
Card sample
#ffcf80 text on a white background
contrast 1.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffcf80;
Background color
Panel with #ffcf80 background
background-color: #ffcf80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffcf80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 207, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 207, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffcf80; background: linear-gradient(135deg, #ffcf80, #DAFF80);