#ffeb7f
a light, electric yellow · cool · closest name: khaki
RGB
255, 235, 127
HSL
51°, 100%, 75%
CMYK
0, 8, 50, 0
Luminance
0.8221
Every format
| HEX | #ffeb7f |
| RGB | rgb(255, 235, 127) |
| HSL | hsl(51, 100%, 75%) |
| CMYK | cmyk(0%, 8%, 50%, 0%) |
| LAB | lab(92.7 -6.8 54.4) |
| LCH | lch(92.7 54.8 97.1) |
| OKLCH | oklch(0.934 0.131 99.0) |
Copy-ready code
/* CSS */
color: #ffeb7f;
background-color: #ffeb7f;
/* Tailwind (arbitrary) */
class="text-[#ffeb7f] bg-[#ffeb7f]"
/* SCSS */
$brand: #ffeb7f;
/* SwiftUI */
Color(red: 1.000, green: 0.922, blue: 0.498)
/* Android */
Color.parseColor("#ffeb7f")Accessibility — WCAG contrast
Aa
#ffeb7f on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffeb7f on black: 17.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green92.2%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta7.8%
Yellow50.2%
Key (black)0.0%
Color previews
#ffeb7f text on a black background
contrast 17.44:1
Card sample
#ffeb7f text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffeb7f;
Background color
Panel with #ffeb7f background
background-color: #ffeb7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffeb7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 235, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 235, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffeb7f; background: linear-gradient(135deg, #ffeb7f, #BEFF7F);