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