#ffef64
a light, electric yellow · cool · closest name: khaki
RGB
255, 239, 100
HSL
54°, 100%, 70%
CMYK
0, 6, 61, 0
Luminance
0.8391
Every format
| HEX | #ffef64 |
| RGB | rgb(255, 239, 100) |
| HSL | hsl(54, 100%, 70%) |
| CMYK | cmyk(0%, 6%, 61%, 0%) |
| LAB | lab(93.4 -10.8 67.3) |
| LCH | lch(93.4 68.1 99.1) |
| OKLCH | oklch(0.940 0.158 102.8) |
Copy-ready code
/* CSS */
color: #ffef64;
background-color: #ffef64;
/* Tailwind (arbitrary) */
class="text-[#ffef64] bg-[#ffef64]"
/* SCSS */
$brand: #ffef64;
/* SwiftUI */
Color(red: 1.000, green: 0.937, blue: 0.392)
/* Android */
Color.parseColor("#ffef64")Accessibility — WCAG contrast
Aa
#ffef64 on white: 1.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffef64 on black: 17.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green93.7%
Blue39.2%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow60.8%
Key (black)0.0%
Color previews
#ffef64 text on a black background
contrast 17.78:1
Card sample
#ffef64 text on a white background
contrast 1.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffef64;
Background color
Panel with #ffef64 background
background-color: #ffef64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffef64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 239, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 239, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffef64; background: linear-gradient(135deg, #ffef64, #A8FF64);