Skip to content

#cbf9af

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

RGB
203, 249, 175
HSL
97°, 86%, 83%
CMYK
19, 0, 30, 2
Luminance
0.8354

Every format

HEX#cbf9af
RGBrgb(203, 249, 175)
HSLhsl(97, 86%, 83%)
CMYKcmyk(19%, 0%, 30%, 2%)
LABlab(93.3 -27.6 30.9)
LCHlch(93.3 41.4 131.8)
OKLCHoklch(0.932 0.108 134.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf9af on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cbf9af on black: 17.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green97.6%
Blue68.6%

CMYK percentages

Cyan18.5%
Magenta0.0%
Yellow29.7%
Key (black)2.4%

Color previews

#cbf9af text on a black background

contrast 17.71:1

Card sample

#cbf9af text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbf9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbf9af in the Color Lab