Skip to content
Vectorlight.net

#cfd31a

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

HEX
#cfd31a
RGB
207, 211, 26
HSL
61.3°, 78.06%, 46.47%
OKLCH
0.84 0.18 111.12
Names
—
Lists

Codes

FormatValue
HEX#cfd31a
RGBrgb(207 211 26)
HSLhsl(61.3 78.06% 46.47%)
OKLCHoklch(0.84 0.18 111.12)
CMYKcmyk(1.9% 0% 87.68% 17.25%)
Android#ffcfd31a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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