Skip to content

#accb3f

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

RGB
172, 203, 63
HSL
73°, 57%, 52%
CMYK
15, 0, 69, 20
Luminance
0.5184

Every format

HEX#accb3f
RGBrgb(172, 203, 63)
HSLhsl(73, 57%, 52%)
CMYKcmyk(15%, 0%, 69%, 20%)
LABlab(77.2 -29.3 63.1)
LCHlch(77.2 69.6 114.9)
OKLCHoklch(0.793 0.166 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accb3f on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#accb3f on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green79.6%
Blue24.7%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow69.0%
Key (black)20.4%

Color previews

#accb3f text on a black background

contrast 11.37:1

Card sample

#accb3f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 203, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 203, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accb3f;
background: linear-gradient(135deg, #accb3f, #4FCB3F);

Monochromatic scale

Palettes built from #accb3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accb3f in the Color Lab