Skip to content
Vectorlight.net

#bda31f

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

HEX
#bda31f
RGB
189, 163, 31
HSL
50.13°, 71.82%, 43.14%
OKLCH
0.72 0.14 96.85
Names
—
Lists

Codes

FormatValue
HEX#bda31f
RGBrgb(189 163 31)
HSLhsl(50.13 71.82% 43.14%)
OKLCHoklch(0.72 0.14 96.85)
CMYKcmyk(0% 13.76% 83.6% 25.88%)
Android#ffbda31f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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