Skip to content

#cbf261

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

RGB
203, 242, 97
HSL
76°, 85%, 67%
CMYK
16, 0, 60, 5
Luminance
0.7706

Every format

HEX#cbf261
RGBrgb(203, 242, 97)
HSLhsl(76, 85%, 67%)
CMYKcmyk(16%, 0%, 60%, 5%)
LABlab(90.3 -33.0 64.1)
LCHlch(90.3 72.1 117.2)
OKLCHoklch(0.905 0.175 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf261 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cbf261 on black: 16.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green94.9%
Blue38.0%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#cbf261 text on a black background

contrast 16.41:1

Card sample

#cbf261 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf261;
background: linear-gradient(135deg, #cbf261, #6BF261);

Monochromatic scale

Palettes built from #cbf261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbf261 in the Color Lab