Skip to content
Vectorlight.net

#cfa02e

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

HEX
#cfa02e
RGB
207, 160, 46
HSL
42.48°, 63.64%, 49.61%
OKLCH
0.73 0.14 84.76
Names
—
Lists

Codes

FormatValue
HEX#cfa02e
RGBrgb(207 160 46)
HSLhsl(42.48 63.64% 49.61%)
OKLCHoklch(0.73 0.14 84.76)
CMYKcmyk(0% 22.71% 77.78% 18.82%)
Android#ffcfa02e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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