Skip to content

#ffee22

a balanced, electric yellow · cool · closest name: yellow

RGB
255, 238, 34
HSL
55°, 100%, 57%
CMYK
0, 7, 87, 0
Luminance
0.8252

Every format

HEX#ffee22
RGBrgb(255, 238, 34)
HSLhsl(55, 100%, 57%)
CMYKcmyk(0%, 7%, 87%, 0%)
LABlab(92.8 -13.0 87.5)
LCHlch(92.8 88.5 98.4)
OKLCHoklch(0.934 0.192 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffee22 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ffee22 on black: 17.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.3%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow86.7%
Key (black)0.0%

Color previews

#ffee22 text on a black background

contrast 17.50:1

Card sample

#ffee22 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 238, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 238, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffee22;
background: linear-gradient(135deg, #ffee22, #7DFF22);

Monochromatic scale

Palettes built from #ffee22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffee22 in the Color Lab