#ffffb8
a pale, electric yellow · cool · closest name: khaki
RGB
255, 255, 184
HSL
60°, 100%, 86%
CMYK
0, 0, 28, 0
Luminance
0.9624
Every format
| HEX | #ffffb8 |
| RGB | rgb(255, 255, 184) |
| HSL | hsl(60, 100%, 86%) |
| CMYK | cmyk(0%, 0%, 28%, 0%) |
| LAB | lab(98.5 -10.7 34.0) |
| LCH | lch(98.5 35.7 107.5) |
| OKLCH | oklch(0.984 0.090 107.9) |
Copy-ready code
/* CSS */
color: #ffffb8;
background-color: #ffffb8;
/* Tailwind (arbitrary) */
class="text-[#ffffb8] bg-[#ffffb8]"
/* SCSS */
$brand: #ffffb8;
/* SwiftUI */
Color(red: 1.000, green: 1.000, blue: 0.722)
/* Android */
Color.parseColor("#ffffb8")Accessibility — WCAG contrast
Aa
#ffffb8 on white: 1.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffffb8 on black: 20.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green100.0%
Blue72.2%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow27.8%
Key (black)0.0%
Color previews
#ffffb8 text on a black background
contrast 20.25:1
Card sample
#ffffb8 text on a white background
contrast 1.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffffb8;
Background color
Panel with #ffffb8 background
background-color: #ffffb8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffffb8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 255, 184, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 255, 184, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffffb8; background: linear-gradient(135deg, #ffffb8, #D0FFB8);