#f0f3bc
a light, vivid yellow · cool · closest name: beige
RGB
240, 243, 188
HSL
63°, 70%, 85%
CMYK
1, 0, 23, 5
Luminance
0.8626
Every format
| HEX | #f0f3bc |
| RGB | rgb(240, 243, 188) |
| HSL | hsl(63, 70%, 85%) |
| CMYK | cmyk(1%, 0%, 23%, 5%) |
| LAB | lab(94.4 -9.7 26.3) |
| LCH | lch(94.4 28.0 110.3) |
| OKLCH | oklch(0.949 0.071 110.3) |
Copy-ready code
/* CSS */
color: #f0f3bc;
background-color: #f0f3bc;
/* Tailwind (arbitrary) */
class="text-[#f0f3bc] bg-[#f0f3bc]"
/* SCSS */
$brand: #f0f3bc;
/* SwiftUI */
Color(red: 0.941, green: 0.953, blue: 0.737)
/* Android */
Color.parseColor("#f0f3bc")Accessibility — WCAG contrast
Aa
#f0f3bc on white: 1.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0f3bc on black: 18.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green95.3%
Blue73.7%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow22.6%
Key (black)4.7%
Color previews
#f0f3bc text on a black background
contrast 18.25:1
Card sample
#f0f3bc text on a white background
contrast 1.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0f3bc;
Background color
Panel with #f0f3bc background
background-color: #f0f3bc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0f3bc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 243, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 243, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f3bc; background: linear-gradient(135deg, #f0f3bc, #CBF3BC);