Skip to content
Vectorlight.net

#ccbf04

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

HEX
#ccbf04
RGB
204, 191, 4
HSL
56.1°, 96.15%, 40.78%
OKLCH
0.79 0.17 104.62
Names
—
Lists

Codes

FormatValue
HEX#ccbf04
RGBrgb(204 191 4)
HSLhsl(56.1 96.15% 40.78%)
OKLCHoklch(0.79 0.17 104.62)
CMYKcmyk(0% 6.37% 98.04% 20%)
Android#ffccbf04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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