#f0f3b0
a light, vivid yellow · cool · closest name: khaki
RGB
240, 243, 176
HSL
63°, 74%, 82%
CMYK
1, 0, 28, 5
Luminance
0.8576
Every format
| HEX | #f0f3b0 |
| RGB | rgb(240, 243, 176) |
| HSL | hsl(63, 74%, 82%) |
| CMYK | cmyk(1%, 0%, 28%, 5%) |
| LAB | lab(94.2 -11.3 32.1) |
| LCH | lch(94.2 34.0 109.4) |
| OKLCH | oklch(0.946 0.086 110.1) |
Copy-ready code
/* CSS */
color: #f0f3b0;
background-color: #f0f3b0;
/* Tailwind (arbitrary) */
class="text-[#f0f3b0] bg-[#f0f3b0]"
/* SCSS */
$brand: #f0f3b0;
/* SwiftUI */
Color(red: 0.941, green: 0.953, blue: 0.690)
/* Android */
Color.parseColor("#f0f3b0")Accessibility — WCAG contrast
Aa
#f0f3b0 on white: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0f3b0 on black: 18.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green95.3%
Blue69.0%
CMYK percentages
Cyan1.2%
Magenta0.0%
Yellow27.6%
Key (black)4.7%
Color previews
#f0f3b0 text on a black background
contrast 18.15:1
Card sample
#f0f3b0 text on a white background
contrast 1.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0f3b0;
Background color
Panel with #f0f3b0 background
background-color: #f0f3b0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0f3b0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 243, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 243, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0f3b0; background: linear-gradient(135deg, #f0f3b0, #C3F3B0);