Skip to content

#cbf039

a balanced, electric green · cool · closest name: yellow

RGB
203, 240, 57
HSL
72°, 86%, 58%
CMYK
15, 0, 76, 6
Luminance
0.7531

Every format

HEX#cbf039
RGBrgb(203, 240, 57)
HSLhsl(72, 86%, 58%)
CMYKcmyk(15%, 0%, 76%, 6%)
LABlab(89.5 -34.4 77.7)
LCHlch(89.5 85.0 113.9)
OKLCHoklch(0.898 0.199 120.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf039 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#cbf039 on black: 16.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green94.1%
Blue22.4%

CMYK percentages

Cyan15.4%
Magenta0.0%
Yellow76.3%
Key (black)5.9%

Color previews

#cbf039 text on a black background

contrast 16.06:1

Card sample

#cbf039 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 240, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 240, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf039;
background: linear-gradient(135deg, #cbf039, #51F039);

Monochromatic scale

Palettes built from #cbf039

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbf039 in the Color Lab