Skip to content
Vectorlight.net

#cfc310

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

HEX
#cfc310
RGB
207, 195, 16
HSL
56.23°, 85.65%, 43.73%
OKLCH
0.8 0.17 105.04
Names
—
Lists

Codes

FormatValue
HEX#cfc310
RGBrgb(207 195 16)
HSLhsl(56.23 85.65% 43.73%)
OKLCHoklch(0.8 0.17 105.04)
CMYKcmyk(0% 5.8% 92.27% 18.82%)
Android#ffcfc310

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.46: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="#cfc310"
Gradient stop
<stop stop-color="#cfc310"/>
CSS variable + fill
:root { --c: #cfc310; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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