Skip to content

#f2ffbd

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

RGB
242, 255, 189
HSL
72°, 100%, 87%
CMYK
5, 0, 26, 0
Luminance
0.9407

Every format

HEX#f2ffbd
RGBrgb(242, 255, 189)
HSLhsl(72, 100%, 87%)
CMYKcmyk(5%, 0%, 26%, 0%)
LABlab(97.7 -14.8 30.2)
LCHlch(97.7 33.6 116.1)
OKLCHoklch(0.975 0.086 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ffbd on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f2ffbd on black: 19.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green100.0%
Blue74.1%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow25.9%
Key (black)0.0%

Color previews

#f2ffbd text on a black background

contrast 19.81:1

Card sample

#f2ffbd text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ffbd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ffbd in the Color Lab