Skip to content

#cbf98e

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

RGB
203, 249, 142
HSL
86°, 90%, 77%
CMYK
19, 0, 43, 2
Luminance
0.8240

Every format

HEX#cbf98e
RGBrgb(203, 249, 142)
HSLhsl(86, 90%, 77%)
CMYKcmyk(19%, 0%, 43%, 2%)
LABlab(92.8 -31.9 46.5)
LCHlch(92.8 56.4 124.5)
OKLCHoklch(0.926 0.143 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf98e on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cbf98e on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green97.6%
Blue55.7%

CMYK percentages

Cyan18.5%
Magenta0.0%
Yellow43.0%
Key (black)2.4%

Color previews

#cbf98e text on a black background

contrast 17.48:1

Card sample

#cbf98e text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbf98e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbf98e in the Color Lab