Skip to content
Vectorlight.net

#bdaf28

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

HEX
#bdaf28
RGB
189, 175, 40
HSL
54.36°, 65.07%, 44.9%
OKLCH
0.74 0.15 103.1
Names
—
Lists

Codes

FormatValue
HEX#bdaf28
RGBrgb(189 175 40)
HSLhsl(54.36 65.07% 44.9%)
OKLCHoklch(0.74 0.15 103.1)
CMYKcmyk(0% 7.41% 78.84% 25.88%)
Android#ffbdaf28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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