Skip to content
Vectorlight.net

#b4a830

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

HEX
#b4a830
RGB
180, 168, 48
HSL
54.55°, 57.89%, 44.71%
OKLCH
0.72 0.14 103.48
Names
—
Lists

Codes

FormatValue
HEX#b4a830
RGBrgb(180 168 48)
HSLhsl(54.55 57.89% 44.71%)
OKLCHoklch(0.72 0.14 103.48)
CMYKcmyk(0% 6.67% 73.33% 29.41%)
Android#ffb4a830

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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