Skip to content
Vectorlight.net

#cdd312

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

HEX
#cdd312
RGB
205, 211, 18
HSL
61.87°, 84.28%, 44.9%
OKLCH
0.83 0.18 111.83
Names
—
Lists

Codes

FormatValue
HEX#cdd312
RGBrgb(205 211 18)
HSLhsl(61.87 84.28% 44.9%)
OKLCHoklch(0.83 0.18 111.83)
CMYKcmyk(2.84% 0% 91.47% 17.25%)
Android#ffcdd312

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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