Skip to content
Vectorlight.net

#d2ca38

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

HEX
#d2ca38
RGB
210, 202, 56
HSL
56.88°, 63.11%, 52.16%
OKLCH
0.82 0.16 106.2
Names
—
Lists

Codes

FormatValue
HEX#d2ca38
RGBrgb(210 202 56)
HSLhsl(56.88 63.11% 52.16%)
OKLCHoklch(0.82 0.16 106.2)
CMYKcmyk(0% 3.81% 73.33% 17.65%)
Android#ffd2ca38

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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