#ECD31C color

#ECD31C rgb(236, 211, 28)
Shades of yellow

The hex color #ECD31C is a vivid yellow.

In the RGB color model it is made of 92.5% red, 82.7% green and 11% blue (236, 211, 28).

Its hue angle is 53°, with 85% saturation and 52% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 88% yellow and 7% black.

The closest named color is Yellow Mellow (#F0D31E), a difference of 1 ΔE, which is barely visible.

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

#ECD31C color codes

HEX#ECD31C
RGBrgb(236, 211, 28)
RGB percentrgb(92.5%, 82.7%, 11%)
HSLhsl(53, 85%, 52%)
HSV / HSBhsv(53, 88%, 93%)
CMYKcmyk(0%, 11%, 88%, 7%)
CIE LABlab(84.23, -7.68, 81.13)
CIE LCHlch(84.23, 81.49, 95.41)
CIE XYZxyz(58.099, 64.508, 10.489)
Decimal15520540
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #ECD31C, 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 #ECD31CRatioAAAAAAA large
Sample text13.9:1PassPassPass
Sample text1.51:1FailFailFail
#ECD31C as text onRatioAAAAAAA large
Sample text1.51:1FailFailFail
Sample text13.9: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 #ECD31C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #ecd31c; }
.text { color: #ecd31c; }
.border { border: 2px solid #ecd31c; }
.transparent { background-color: rgb(236 211 28 / 50%); }
.gradient { background: linear-gradient(to right, #ecd31c, #9dec1c); }
Background
Text color
Border

Similar colors

Closest common color name: Dandelion.

Questions

What color is #ECD31C?
#ECD31C is a vivid yellow, closest to the named color Yellow Mellow. It belongs to the yellow family of colors.
What is the RGB value of #ECD31C?
The RGB value is 236, 211, 28: 236 red, 211 green and 28 blue on a 0 to 255 scale.
What is the complementary color of #ECD31C?
The complementary color is #1C35EC, found by rotating the hue 180° on the color wheel.
Is black or white text better on #ECD31C?
Black text. Black text has a contrast ratio of 13.9:1 and white text 1.51:1. WCAG asks for at least 4.5:1 for normal text.