Skip to content

#cbf608

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

RGB
203, 246, 8
HSL
71°, 94%, 50%
CMYK
18, 0, 97, 4
Luminance
0.7863

Every format

HEX#cbf608
RGBrgb(203, 246, 8)
HSLhsl(71, 94%, 50%)
CMYKcmyk(18%, 0%, 97%, 4%)
LABlab(91.1 -38.3 87.7)
LCHlch(91.1 95.7 113.6)
OKLCHoklch(0.910 0.219 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbf608 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#cbf608 on black: 16.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green96.5%
Blue3.1%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow96.7%
Key (black)3.5%

Color previews

#cbf608 text on a black background

contrast 16.73:1

Card sample

#cbf608 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbf608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbf608 in the Color Lab