Skip to content

#accd1f

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

RGB
172, 205, 31
HSL
71°, 74%, 46%
CMYK
16, 0, 85, 20
Luminance
0.5253

Every format

HEX#accd1f
RGBrgb(172, 205, 31)
HSLhsl(71, 74%, 46%)
CMYKcmyk(16%, 0%, 85%, 20%)
LABlab(77.6 -31.6 73.1)
LCHlch(77.6 79.6 113.4)
OKLCHoklch(0.796 0.184 120.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accd1f on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#accd1f on black: 11.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.4%
Blue12.2%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow84.9%
Key (black)19.6%

Color previews

#accd1f text on a black background

contrast 11.51:1

Card sample

#accd1f text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 205, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 205, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accd1f;
background: linear-gradient(135deg, #accd1f, #38CD1F);

Monochromatic scale

Palettes built from #accd1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accd1f in the Color Lab