Skip to content

#b3f308

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

RGB
179, 243, 8
HSL
76°, 94%, 49%
CMYK
26, 0, 97, 5
Luminance
0.7370

Every format

HEX#b3f308
RGBrgb(179, 243, 8)
HSLhsl(76, 94%, 49%)
CMYKcmyk(26%, 0%, 97%, 5%)
LABlab(88.8 -46.2 85.3)
LCHlch(88.8 97.0 118.4)
OKLCHoklch(0.888 0.227 126.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3f308 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#b3f308 on black: 15.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green95.3%
Blue3.1%

CMYK percentages

Cyan26.3%
Magenta0.0%
Yellow96.7%
Key (black)4.7%

Color previews

#b3f308 text on a black background

contrast 15.74:1

Card sample

#b3f308 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 243, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 243, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3f308;
background: linear-gradient(135deg, #b3f308, #17F308);

Monochromatic scale

Palettes built from #b3f308

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3f308 in the Color Lab