Skip to content
Vectorlight.net

#cfc302

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

HEX
#cfc302
RGB
207, 195, 2
HSL
56.49°, 98.09%, 40.98%
OKLCH
0.8 0.17 105.13
Names
—
Lists

Codes

FormatValue
HEX#cfc302
RGBrgb(207 195 2)
HSLhsl(56.49 98.09% 40.98%)
OKLCHoklch(0.8 0.17 105.13)
CMYKcmyk(0% 5.8% 99.03% 18.82%)
Android#ffcfc302

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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