Skip to content
Vectorlight.net

#acc307

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#acc307
RGB
172, 195, 7
HSL
67.34°, 93.07%, 39.61%
OKLCH
0.77 0.18 117.96
Names
—
Lists

Codes

FormatValue
HEX#acc307
RGBrgb(172 195 7)
HSLhsl(67.34 93.07% 39.61%)
OKLCHoklch(0.77 0.18 117.96)
CMYKcmyk(11.79% 0% 96.41% 23.53%)
Android#ffacc307

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#acc307"
Gradient stop
<stop stop-color="#acc307"/>
CSS variable + fill
:root { --c: #acc307; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #acc307;
background-color: #acc307;
bg-[#acc307]