Skip to content

#ffffb5

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

RGB
255, 255, 181
HSL
60°, 100%, 86%
CMYK
0, 0, 29, 0
Luminance
0.9612

Every format

HEX#ffffb5
RGBrgb(255, 255, 181)
HSLhsl(60, 100%, 86%)
CMYKcmyk(0%, 0%, 29%, 0%)
LABlab(98.5 -11.1 35.5)
LCHlch(98.5 37.2 107.3)
OKLCHoklch(0.983 0.093 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffffb5 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#ffffb5 on black: 20.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow29.0%
Key (black)0.0%

Color previews

#ffffb5 text on a black background

contrast 20.22:1

Card sample

#ffffb5 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffffb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffffb5 in the Color Lab