Skip to content
Vectorlight.net

#fff23b

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

HEX
#fff23b
RGB
255, 242, 59
HSL
56.02°, 100%, 61.57%
OKLCH
0.94 0.19 105.16
Names
—
Lists

Codes

FormatValue
HEX#fff23b
RGBrgb(255 242 59)
HSLhsl(56.02 100% 61.57%)
OKLCHoklch(0.94 0.19 105.16)
CMYKcmyk(0% 5.1% 76.86% 0%)
Android#fffff23b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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