Skip to content
Vectorlight.net

#ffcf04

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

HEX
#ffcf04
RGB
255, 207, 4
HSL
48.53°, 100%, 50.78%
OKLCH
0.87 0.18 91.71
Names
—
Lists

Codes

FormatValue
HEX#ffcf04
RGBrgb(255 207 4)
HSLhsl(48.53 100% 50.78%)
OKLCHoklch(0.87 0.18 91.71)
CMYKcmyk(0% 18.82% 98.43% 0%)
Android#ffffcf04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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