Skip to content
Vectorlight.net

#d2bf02

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

HEX
#d2bf02
RGB
210, 191, 2
HSL
54.52°, 98.11%, 41.57%
OKLCH
0.8 0.17 102.21
Names
—
Lists

Codes

FormatValue
HEX#d2bf02
RGBrgb(210 191 2)
HSLhsl(54.52 98.11% 41.57%)
OKLCHoklch(0.8 0.17 102.21)
CMYKcmyk(0% 9.05% 99.05% 17.65%)
Android#ffd2bf02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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