#ffff88
a light, electric yellow · cool · closest name: khaki
RGB
255, 255, 136
HSL
60°, 100%, 77%
CMYK
0, 0, 47, 0
Luminance
0.9456
Every format
| HEX | #ffff88 |
| RGB | rgb(255, 255, 136) |
| HSL | hsl(60, 100%, 77%) |
| CMYK | cmyk(0%, 0%, 47%, 0%) |
| LAB | lab(97.9 -15.8 56.4) |
| LCH | lch(97.9 58.6 105.7) |
| OKLCH | oklch(0.976 0.142 108.8) |
Copy-ready code
/* CSS */
color: #ffff88;
background-color: #ffff88;
/* Tailwind (arbitrary) */
class="text-[#ffff88] bg-[#ffff88]"
/* SCSS */
$brand: #ffff88;
/* SwiftUI */
Color(red: 1.000, green: 1.000, blue: 0.533)
/* Android */
Color.parseColor("#ffff88")Accessibility — WCAG contrast
Aa
#ffff88 on white: 1.05:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffff88 on black: 19.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green100.0%
Blue53.3%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow46.7%
Key (black)0.0%
Color previews
#ffff88 text on a black background
contrast 19.91:1
Card sample
#ffff88 text on a white background
contrast 1.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffff88;
Background color
Panel with #ffff88 background
background-color: #ffff88;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffff88;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 255, 136, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 255, 136, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffff88; background: linear-gradient(135deg, #ffff88, #B0FF88);