#F0E57A color

#F0E57A rgb(240, 229, 122)
Shades of yellow

The hex color #F0E57A is a light, moderate yellow.

In the RGB color model it is made of 94.1% red, 89.8% green and 47.8% blue (240, 229, 122).

Its hue angle is 54°, with 80% saturation and 71% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 49% yellow and 6% black.

The closest named color is King’s Field (#F2E887), a difference of 1.6 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 16.19:1).

#F0E57A color codes

HEX#F0E57A
RGBrgb(240, 229, 122)
RGB percentrgb(94.1%, 89.8%, 47.8%)
HSLhsl(54, 80%, 71%)
HSV / HSBhsv(54, 49%, 94%)
CMYKcmyk(0%, 5%, 49%, 6%)
CIE LABlab(89.85, -10.21, 53.05)
CIE LCHlch(89.85, 54.02, 100.89)
CIE XYZxyz(67.469, 75.971, 29.518)
Decimal15787386
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #F0E57A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #F0E57ARatioAAAAAAA large
Sample text16.19:1PassPassPass
Sample text1.3:1FailFailFail
#F0E57A as text onRatioAAAAAAA large
Sample text1.3:1FailFailFail
Sample text16.19:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #F0E57A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #f0e57a; }
.text { color: #f0e57a; }
.border { border: 2px solid #f0e57a; }
.transparent { background-color: rgb(240 229 122 / 50%); }
.gradient { background: linear-gradient(to right, #f0e57a, #c0f07a); }
Background
Text color
Border

Similar colors

Closest common color name: Pastel Yellow.

Questions

What color is #F0E57A?
#F0E57A is a light, moderate yellow, closest to the named color King’s Field. It belongs to the yellow family of colors.
What is the RGB value of #F0E57A?
The RGB value is 240, 229, 122: 240 red, 229 green and 122 blue on a 0 to 255 scale.
What is the complementary color of #F0E57A?
The complementary color is #7A85F0, found by rotating the hue 180° on the color wheel.
Is black or white text better on #F0E57A?
Black text. Black text has a contrast ratio of 16.19:1 and white text 1.3:1. WCAG asks for at least 4.5:1 for normal text.