Skip to content
Vectorlight.net

#bed31b

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

HEX
#bed31b
RGB
190, 211, 27
HSL
66.85°, 77.31%, 46.67%
OKLCH
0.82 0.18 116.87
Names
—
Lists

Codes

FormatValue
HEX#bed31b
RGBrgb(190 211 27)
HSLhsl(66.85 77.31% 46.67%)
OKLCHoklch(0.82 0.18 116.87)
CMYKcmyk(9.95% 0% 87.2% 17.25%)
Android#ffbed31b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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