Skip to content
Vectorlight.net

#cfdf31

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

HEX
#cfdf31
RGB
207, 223, 49
HSL
65.52°, 73.11%, 53.33%
OKLCH
0.86 0.18 115.05
Names
—
Lists

Codes

FormatValue
HEX#cfdf31
RGBrgb(207 223 49)
HSLhsl(65.52 73.11% 53.33%)
OKLCHoklch(0.86 0.18 115.05)
CMYKcmyk(7.17% 0% 78.03% 12.55%)
Android#ffcfdf31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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