Skip to content
Vectorlight.net

#cfc54a

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

HEX
#cfc54a
RGB
207, 197, 74
HSL
55.49°, 58.08%, 55.1%
OKLCH
0.81 0.14 104.67
Names
—
Lists

Codes

FormatValue
HEX#cfc54a
RGBrgb(207 197 74)
HSLhsl(55.49 58.08% 55.1%)
OKLCHoklch(0.81 0.14 104.67)
CMYKcmyk(0% 4.83% 64.25% 18.82%)
Android#ffcfc54a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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