Skip to content
Vectorlight.net

#cfd304

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

HEX
#cfd304
RGB
207, 211, 4
HSL
61.16°, 96.28%, 42.16%
OKLCH
0.84 0.18 111.15
Names
—
Lists

Codes

FormatValue
HEX#cfd304
RGBrgb(207 211 4)
HSLhsl(61.16 96.28% 42.16%)
OKLCHoklch(0.84 0.18 111.15)
CMYKcmyk(1.9% 0% 98.1% 17.25%)
Android#ffcfd304

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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