Skip to content
Kolorvia
#ffe228

Color #ffe228

A vivid, highly saturated medium yellow.

Conversions

HEX
#ffe228
RGB
rgb(255, 226, 40)
HSL
hsl(51.9, 100%, 57.8%)
HSV / HSB
hsv(51.9, 84.3%, 100%)
CMYK
cmyk(0%, 11.4%, 84.3%, 0%)
LAB
lab(89.77, -6.92, 83.84)
LCH
lch(89.77, 84.13, 94.72)
OKLCH
oklch(91%, 0.1813, 99.33)
HWB
hwb(51.9, 15.7%, 0%)

Harmony colors

Complementary

#2845ff

Analogous

#ff7628
#ffe228
#b0ff28

Triadic

#ffe228
#28ffe2
#e228ff

Split-complementary

#ffe228
#28b0ff
#7628ff

Tetradic

#ffe228
#45ff28
#2845ff
#e228ff

Square

#ffe228
#28ff76
#2845ff
#ff28b0

Shades

Color #ffe228 mixed toward black.

#f6d400
#c5aa00
#937f00
#625500
#312a00

Tints

Color #ffe228 mixed toward white.

#ffe74c
#ffec70
#fff093
#fff5b7
#fffadb

Tones

Color #ffe228 mixed toward gray.

#edd53a
#dbc84c
#c9bb5e
#b7ae70
#a5a081

Accessibility

Aa White text on this color
1.3:1
Aa Black text on this color
16.16:1

Black text reads better on this background (16.16:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#f3f37c · ΔE 9.9

Deuteranopia

#f5f787 · ΔE 11.1

Tritanopia

#fe9ea4 · ΔE 47.3

Achromatopsia

#e2e2e2 · ΔE 29.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #ffe228;
Tailwind (arbitrary value)
bg-[#ffe228]

Related colors

Gold #ffd700
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Dark Khaki #bdb76b
Cornsilk #fff8dc

Frequently asked questions

#ffe228 (#ffe228) is rgb(255, 226, 40) in RGB.

No, #ffe228 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #ffe228, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.