Skip to content
Vectorlight.net

#0fc315

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

HEX
#0fc315
RGB
15, 195, 21
HSL
122°, 85.71%, 41.18%
OKLCH
0.71 0.24 142.74
Names
—
Lists

Codes

FormatValue
HEX#0fc315
RGBrgb(15 195 21)
HSLhsl(122 85.71% 41.18%)
OKLCHoklch(0.71 0.24 142.74)
CMYKcmyk(92.31% 0% 89.23% 23.53%)
Android#ff0fc315

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0fc315;
background-color: #0fc315;
bg-[#0fc315]