Skip to content

#f2ffbc

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

RGB
242, 255, 188
HSL
72°, 100%, 87%
CMYK
5, 0, 26, 0
Luminance
0.9403

Every format

HEX#f2ffbc
RGBrgb(242, 255, 188)
HSLhsl(72, 100%, 87%)
CMYKcmyk(5%, 0%, 26%, 0%)
LABlab(97.6 -14.9 30.7)
LCHlch(97.6 34.1 115.9)
OKLCHoklch(0.974 0.087 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green100.0%
Blue73.7%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow26.3%
Key (black)0.0%

Color previews

#f2ffbc text on a black background

contrast 19.81:1

Card sample

#f2ffbc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ffbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ffbc in the Color Lab