Skip to content
Vectorlight.net

#b2c242

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

HEX
#b2c242
RGB
178, 194, 66
HSL
67.5°, 51.2%, 50.98%
OKLCH
0.78 0.15 116.12
Names
—
Lists

Codes

FormatValue
HEX#b2c242
RGBrgb(178 194 66)
HSLhsl(67.5 51.2% 50.98%)
OKLCHoklch(0.78 0.15 116.12)
CMYKcmyk(8.25% 0% 65.98% 23.92%)
Android#ffb2c242

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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