Skip to content
Vectorlight.net

#bac227

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

HEX
#bac227
RGB
186, 194, 39
HSL
63.1°, 66.52%, 45.69%
OKLCH
0.78 0.16 112.75
Names
—
Lists

Codes

FormatValue
HEX#bac227
RGBrgb(186 194 39)
HSLhsl(63.1 66.52% 45.69%)
OKLCHoklch(0.78 0.16 112.75)
CMYKcmyk(4.12% 0% 79.9% 23.92%)
Android#ffbac227

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.83: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="#bac227"
Gradient stop
<stop stop-color="#bac227"/>
CSS variable + fill
:root { --c: #bac227; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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