#F0E87D color

#F0E87D rgb(240, 232, 125)
Shades of yellow

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

In the RGB color model it is made of 94.1% red, 91% green and 49% blue (240, 232, 125).

Its hue angle is 56°, with 79% saturation and 72% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 48% yellow and 6% black.

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

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

#F0E87D color codes

HEX#F0E87D
RGBrgb(240, 232, 125)
RGB percentrgb(94.1%, 91%, 49%)
HSLhsl(56, 79%, 72%)
HSV / HSBhsv(56, 48%, 94%)
CMYKcmyk(0%, 3%, 48%, 6%)
CIE LABlab(90.65, -11.43, 52.61)
CIE LCHlch(90.65, 53.84, 102.26)
CIE XYZxyz(68.495, 77.721, 30.792)
Decimal15788157
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #F0E87D, 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 #F0E87DRatioAAAAAAA large
Sample text16.54:1PassPassPass
Sample text1.27:1FailFailFail
#F0E87D as text onRatioAAAAAAA large
Sample text1.27:1FailFailFail
Sample text16.54: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 #F0E87D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #f0e87d; }
.text { color: #f0e87d; }
.border { border: 2px solid #f0e87d; }
.transparent { background-color: rgb(240 232 125 / 50%); }
.gradient { background: linear-gradient(to right, #f0e87d, #bef07d); }
Background
Text color
Border

Similar colors

Closest common color name: Pastel Yellow.

Questions

What color is #F0E87D?
#F0E87D 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 #F0E87D?
The RGB value is 240, 232, 125: 240 red, 232 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #F0E87D?
The complementary color is #7D85F0, found by rotating the hue 180° on the color wheel.
Is black or white text better on #F0E87D?
Black text. Black text has a contrast ratio of 16.54:1 and white text 1.27:1. WCAG asks for at least 4.5:1 for normal text.