Skip to content
Vectorlight.net

#d1bf02

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

HEX
#d1bf02
RGB
209, 191, 2
HSL
54.78°, 98.1%, 41.37%
OKLCH
0.79 0.17 102.61
Names
—
Lists

Codes

FormatValue
HEX#d1bf02
RGBrgb(209 191 2)
HSLhsl(54.78 98.1% 41.37%)
OKLCHoklch(0.79 0.17 102.61)
CMYKcmyk(0% 8.61% 99.04% 18.04%)
Android#ffd1bf02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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