Skip to content
Vectorlight.net

#cfb042

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

HEX
#cfb042
RGB
207, 176, 66
HSL
46.81°, 59.49%, 53.53%
OKLCH
0.76 0.13 93.13
Names
—
Lists

Codes

FormatValue
HEX#cfb042
RGBrgb(207 176 66)
HSLhsl(46.81 59.49% 53.53%)
OKLCHoklch(0.76 0.13 93.13)
CMYKcmyk(0% 14.98% 68.12% 18.82%)
Android#ffcfb042

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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