Skip to content
Kolorvia
#ffe042

Color #ffe042

A vivid, highly saturated light yellow.

Conversions

HEX
#ffe042
RGB
rgb(255, 224, 66)
HSL
hsl(50.2, 100%, 62.9%)
HSV / HSB
hsv(50.2, 74.1%, 100%)
CMYK
cmyk(0%, 12.2%, 74.1%, 0%)
LAB
lab(89.38, -5.1, 76.16)
LCH
lch(89.38, 76.33, 93.83)
OKLCH
oklch(90.7%, 0.1686, 97.57)
HWB
hwb(50.2, 25.9%, 0%)

Harmony colors

Complementary

#4261ff

Analogous

#ff8142
#ffe042
#bfff42

Triadic

#ffe042
#42ffe0
#e042ff

Split-complementary

#ffe042
#42bfff
#8142ff

Tetradic

#ffe042
#61ff42
#4261ff
#e042ff

Square

#ffe042
#42ff81
#4261ff
#ff42bf

Shades

Color #ffe042 mixed toward black.

#ffd70c
#d6b300
#a08600
#6b5900
#352d00

Tints

Color #ffe042 mixed toward white.

#ffe561
#ffea81
#fff0a0
#fff5c0
#fffadf

Tones

Color #ffe042 mixed toward gray.

#efd552
#dfcb61
#d0c071
#c0b681
#b0ab91

Accessibility

Aa White text on this color
1.31:1
Aa Black text on this color
15.99:1

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

Under color vision deficiencies

Protanopia

#f2f282 · ΔE 9.8

Deuteranopia

#f4f68c · ΔE 10.9

Tritanopia

#fea0a6 · ΔE 45.1

Achromatopsia

#e1e1e1 · ΔE 28.1

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

Code

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

Related colors

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

Frequently asked questions

#ffe042 (#ffe042) is rgb(255, 224, 66) in RGB.

No, #ffe042 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 #ffe042, 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.