Skip to content
Vectorlight.net

#cfae28

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

HEX
#cfae28
RGB
207, 174, 40
HSL
48.14°, 67.61%, 48.43%
OKLCH
0.76 0.15 93.99
Names
—
Lists

Codes

FormatValue
HEX#cfae28
RGBrgb(207 174 40)
HSLhsl(48.14 67.61% 48.43%)
OKLCHoklch(0.76 0.15 93.99)
CMYKcmyk(0% 15.94% 80.68% 18.82%)
Android#ffcfae28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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