Skip to content

#cfffb8

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

RGB
207, 255, 184
HSL
101°, 100%, 86%
CMYK
19, 0, 28, 0
Luminance
0.8825

Every format

HEX#cfffb8
RGBrgb(207, 255, 184)
HSLhsl(101, 100%, 86%)
CMYKcmyk(19%, 0%, 28%, 0%)
LABlab(95.3 -27.8 29.1)
LCHlch(95.3 40.2 133.7)
OKLCHoklch(0.949 0.105 135.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfffb8 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#cfffb8 on black: 18.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green100.0%
Blue72.2%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow27.8%
Key (black)0.0%

Color previews

#cfffb8 text on a black background

contrast 18.65:1

Card sample

#cfffb8 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfffb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfffb8 in the Color Lab