Skip to content

#cbfbab

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

RGB
203, 251, 171
HSL
96°, 91%, 83%
CMYK
19, 0, 32, 2
Luminance
0.8463

Every format

HEX#cbfbab
RGBrgb(203, 251, 171)
HSLhsl(96, 91%, 83%)
CMYKcmyk(19%, 0%, 32%, 2%)
LABlab(93.7 -29.1 33.5)
LCHlch(93.7 44.4 131.0)
OKLCHoklch(0.936 0.115 133.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green98.4%
Blue67.1%

CMYK percentages

Cyan19.1%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#cbfbab text on a black background

contrast 17.93:1

Card sample

#cbfbab text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbfbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbfbab in the Color Lab