Skip to content
Vectorlight.net

#def897

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

HEX
#def897
RGB
222, 248, 151
HSL
76.08°, 87.39%, 78.24%
OKLCH
0.94 0.13 121.1
Names
—
Lists

Codes

FormatValue
HEX#def897
RGBrgb(222 248 151)
HSLhsl(76.08 87.39% 78.24%)
OKLCHoklch(0.94 0.13 121.1)
CMYKcmyk(10.48% 0% 39.11% 2.75%)
Android#ffdef897

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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