Skip to content

#accc0f

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

RGB
172, 204, 15
HSL
70°, 86%, 43%
CMYK
16, 0, 93, 20
Luminance
0.5199

Every format

HEX#accc0f
RGBrgb(172, 204, 15)
HSLhsl(70, 86%, 43%)
CMYKcmyk(16%, 0%, 93%, 20%)
LABlab(77.3 -31.5 75.5)
LCHlch(77.3 81.8 112.6)
OKLCHoklch(0.793 0.187 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accc0f on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#accc0f on black: 11.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.0%
Blue5.9%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow92.6%
Key (black)20.0%

Color previews

#accc0f text on a black background

contrast 11.40:1

Card sample

#accc0f text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 204, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 204, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accc0f;
background: linear-gradient(135deg, #accc0f, #2ECC0F);

Monochromatic scale

Palettes built from #accc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accc0f in the Color Lab