Skip to content
Vectorlight.net

#cdab38

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

HEX
#cdab38
RGB
205, 171, 56
HSL
46.31°, 59.84%, 51.18%
OKLCH
0.75 0.13 91.95
Names
—
Lists

Codes

FormatValue
HEX#cdab38
RGBrgb(205 171 56)
HSLhsl(46.31 59.84% 51.18%)
OKLCHoklch(0.75 0.13 91.95)
CMYKcmyk(0% 16.59% 72.68% 19.61%)
Android#ffcdab38

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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