Skip to content

#accd45

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

RGB
172, 205, 69
HSL
75°, 58%, 54%
CMYK
16, 0, 66, 20
Luminance
0.5286

Every format

HEX#accd45
RGBrgb(172, 205, 69)
HSLhsl(75, 58%, 54%)
CMYKcmyk(16%, 0%, 66%, 20%)
LABlab(77.8 -29.8 61.4)
LCHlch(77.8 68.3 115.9)
OKLCHoklch(0.798 0.164 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accd45 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#accd45 on black: 11.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.4%
Blue27.1%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow66.3%
Key (black)19.6%

Color previews

#accd45 text on a black background

contrast 11.57:1

Card sample

#accd45 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #accd45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accd45 in the Color Lab