Skip to content
Vectorlight.net

#cda31c

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

HEX
#cda31c
RGB
205, 163, 28
HSL
45.76°, 75.97%, 45.69%
OKLCH
0.73 0.14 89.13
Names
—
Lists

Codes

FormatValue
HEX#cda31c
RGBrgb(205 163 28)
HSLhsl(45.76 75.97% 45.69%)
OKLCHoklch(0.73 0.14 89.13)
CMYKcmyk(0% 20.49% 86.34% 19.61%)
Android#ffcda31c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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