Skip to content
Vectorlight.net

#bac127

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

HEX
#bac127
RGB
186, 193, 39
HSL
62.73°, 66.38%, 45.49%
OKLCH
0.78 0.16 112.38
Names
—
Lists

Codes

FormatValue
HEX#bac127
RGBrgb(186 193 39)
HSLhsl(62.73 66.38% 45.49%)
OKLCHoklch(0.78 0.16 112.38)
CMYKcmyk(3.63% 0% 79.79% 24.31%)
Android#ffbac127

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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