Skip to content

#cbf4af

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

RGB
203, 244, 175
HSL
96°, 76%, 82%
CMYK
17, 0, 28, 4
Luminance
0.8049

Every format

HEX#cbf4af
RGBrgb(203, 244, 175)
HSLhsl(96, 76%, 82%)
CMYKcmyk(17%, 0%, 28%, 4%)
LABlab(91.9 -25.2 29.0)
LCHlch(91.9 38.5 131.0)
OKLCHoklch(0.921 0.100 133.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf4af on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cbf4af on black: 17.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green95.7%
Blue68.6%

CMYK percentages

Cyan16.8%
Magenta0.0%
Yellow28.3%
Key (black)4.3%

Color previews

#cbf4af text on a black background

contrast 17.10:1

Card sample

#cbf4af text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbf4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbf4af in the Color Lab