Skip to content

#cbdf98

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

RGB
203, 223, 152
HSL
77°, 53%, 74%
CMYK
9, 0, 32, 13
Luminance
0.6774

Every format

HEX#cbdf98
RGBrgb(203, 223, 152)
HSLhsl(77, 53%, 74%)
CMYKcmyk(9%, 0%, 32%, 13%)
LABlab(85.9 -18.3 32.7)
LCHlch(85.9 37.4 119.2)
OKLCHoklch(0.872 0.095 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdf98 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#cbdf98 on black: 14.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green87.5%
Blue59.6%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow31.8%
Key (black)12.5%

Color previews

#cbdf98 text on a black background

contrast 14.55:1

Card sample

#cbdf98 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 223, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 223, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbdf98;
background: linear-gradient(135deg, #cbdf98, #9CDF98);

Monochromatic scale

Palettes built from #cbdf98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf98 in the Color Lab