Skip to content
Vectorlight.net

#d5ba01

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

HEX
#d5ba01
RGB
213, 186, 1
HSL
52.36°, 99.07%, 41.96%
OKLCH
0.79 0.16 98.66
Names
—
Lists

Codes

FormatValue
HEX#d5ba01
RGBrgb(213 186 1)
HSLhsl(52.36 99.07% 41.96%)
OKLCHoklch(0.79 0.16 98.66)
CMYKcmyk(0% 12.68% 99.53% 16.47%)
Android#ffd5ba01

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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