Skip to content

#cbfbaf

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

RGB
203, 251, 175
HSL
98°, 91%, 84%
CMYK
19, 0, 30, 2
Luminance
0.8479

Every format

HEX#cbfbaf
RGBrgb(203, 251, 175)
HSLhsl(98, 91%, 84%)
CMYKcmyk(19%, 0%, 30%, 2%)
LABlab(93.8 -28.6 31.6)
LCHlch(93.8 42.6 132.1)
OKLCHoklch(0.936 0.111 134.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbfbaf on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cbfbaf on black: 17.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green98.4%
Blue68.6%

CMYK percentages

Cyan19.1%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#cbfbaf text on a black background

contrast 17.96:1

Card sample

#cbfbaf text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 251, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 251, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbfbaf;
background: linear-gradient(135deg, #cbfbaf, #AFFBC6);

Monochromatic scale

Palettes built from #cbfbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbfbaf in the Color Lab