Skip to content

#f3df7b

a light, electric yellow · cool · closest name: khaki

RGB
243, 223, 123
HSL
50°, 83%, 72%
CMYK
0, 8, 49, 5
Luminance
0.7326

Every format

HEX#f3df7b
RGBrgb(243, 223, 123)
HSLhsl(50, 83%, 72%)
CMYKcmyk(0%, 8%, 49%, 5%)
LABlab(88.6 -5.9 51.1)
LCHlch(88.6 51.4 96.6)
OKLCHoklch(0.899 0.123 98.3)

Copy-ready code

/* CSS */
color: #f3df7b;
background-color: #f3df7b;
/* Tailwind (arbitrary) */
class="text-[#f3df7b] bg-[#f3df7b]"
/* SCSS */
$brand: #f3df7b;
/* SwiftUI */
Color(red: 0.953, green: 0.875, blue: 0.482)
/* Android */
Color.parseColor("#f3df7b")

Accessibility — WCAG contrast

Aa
#f3df7b on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#f3df7b on black: 15.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green87.5%
Blue48.2%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow49.4%
Key (black)4.7%

Color previews

#f3df7b text on a black background

contrast 15.65:1

Card sample

#f3df7b text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f3df7b;
Background color
Panel with #f3df7b background
background-color: #f3df7b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f3df7b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(243, 223, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 223, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f3df7b;
background: linear-gradient(135deg, #f3df7b, #B7F37B);

Monochromatic scale

Palettes built from #f3df7b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3df7b in the Color Lab