Hex Values #ECD87F

#ECD87F

sRGB · 236 / 216 / 127

#ECD87F belongs to the yellow family. Its hex code tells a screen to mix 236 red, 216 green and 127 blue on a scale of 0 to 255. On the HSL wheel, hue is a position around a circle: 49.0° lands in the yellow region. Its 74.1% saturation makes it strong in color at this lightness. HSL lightness is 71.2% on a scale from black (0%) to white (100%). Of black and white lettering, black has the clearer light-to-dark separation on this background (14.70:1), which helps the shapes of letters stand out.

Color conversions

sRGB (8-bit)
236, 216, 127
HSL
48.99°, 74.15%, 71.18%
HSV / HSB
48.99°, 46.19%, 92.55%
CMYK (approx.)
0.00%, 8.47%, 46.19%, 7.45%
CIE XYZ (D65, Y = 100 for white)
62.976, 68.478, 29.980
CIELAB (D65, 2° observer)
86.245, -4.812, 46.181
WCAG relative luminance
0.68477
24-bit decimal
15521919

CMYK uses a profile-free approximation. Printed output depends on the press, ink and paper. Lab uses a D65 white point.

Text contrast

Contrast tells you how clearly lettering separates from #ECD87F in light and dark. The ratio compares relative luminance, a measure of light weighted for human vision. Identical colors give 1:1 and black against white gives 21:1. A ratio of 2.99:1 falls just below the 3:1 AA minimum for large text. Body text needs at least 4.5:1 because its finer strokes are harder to distinguish.

Black text · 14.70:1

Normal text: AAA
Large text: AAA

White text · 1.43:1

Normal text: Fail
Large text: Fail

AA and AAA are WCAG accessibility levels. AAA sets a higher bar: 7:1 for normal text and 4.5:1 for large text. Large text begins at 18 pt regular or 14 pt bold. Ratings use the unrounded ratio. WCAG text contrast guidance

Palettes & scales

Harmonies rotate the hue. Scales mix the starting color with white, black or middle gray in 20% steps in encoded sRGB.

Complementary

#7F93EC sits half a turn (180°) from #ECD87F on the HSL wheel. Keeping saturation and lightness steady while crossing to the opposite hue gives you a contrasting accent. Check text contrast separately before using the pair for lettering.

Analogous

#ECA27F and #C9EC7F sit 30° to either side of #ECD87F. The three hues are neighbors on the wheel, so you can change the color of a border or highlight while keeping it close to the original.

Triadic

#ECD87F, #7FECD8 and #D87FEC are spaced 120° apart, forming a triangle on the wheel. Try one for the main color and the other two for accents.

Split complementary

Start at #ECD87F and look across the wheel. #7FCAEC and #A27FEC sit 30° to either side of its exact opposite, giving you two different accent choices.

Square

Starting with #ECD87F, each quarter turn (90°) takes you to the next hue: #7FECA2, #7F93EC, then #EC7FCA. Across the square, #ECD87F pairs with #7F93EC, and #7FECA2 with #EC7FCA.

Tetradic

#ECD87F and #7F93EC are opposites, as are #93EC7F and #D87FEC. Together they form a rectangle on the wheel, with alternating gaps of 60° and 120°.

Tints

Mixing #ECD87F with white in 20% steps produces this scale. The first mixture, #F0E099, keeps 80% of the original. By #FBF7E5, the mixture is 80% white.

Shades

Mixing #ECD87F with black in 20% steps produces this scale. The first mixture, #BDAD66, keeps 80% of the original. By #2F2B19, the mixture is 80% black.

Tones

Mixing #ECD87F with middle gray in 20% steps produces this scale. The first mixture, #D6C67F, keeps 80% of the original. By #969280, the mixture is 80% middle gray.

Copy color codes

Hex, RGB and HSL are three ways to write this screen color. Paste any of them into a CSS color property.

Hex

#ECD87F

RGB

rgb(236 216 127)

HSL

hsl(48.991 74.150% 71.176%)

CSS example

.color-sample {
  background-color: #ECD87F;
  color: #000000;
}

Channel breakdown

RGB

#ECD87F uses 236 red, 216 green and 127 blue. Each bar shows how much of that channel’s 0–255 range the screen uses.

Red 92.5%
Green 84.7%
Blue 49.8%

CMYK

A simple CMYK estimate for #ECD87F is 0.0% cyan, 8.5% magenta, 46.2% yellow and 7.5% black. These are ink amounts; a printer profile is needed to predict the result on paper.

Cyan 0.0%
Magenta 8.5%
Yellow 46.2%
Black 7.5%

Nearby colors

The nearest shorthand match is #EEDD77. Its matching digit pairs let you write it as #ED7 in CSS. For a modern design, keep #ECD87F when you want an exact match. Use its web-safe neighbor, #FFCC66, when matching a legacy palette of 216 colors.

Gradient to complement

Color vision previews

Compare how #ECD87F appears in each simulation. When two chart lines or status indicators become hard to tell apart, a label, shape or line pattern gives readers another way to distinguish them. Individual perception varies.

Protanopia

A red–green color vision deficiency. Without a distinct response from long-wavelength cones, some reds and greens can look alike, and reds can appear darker.

#E8D478

Deuteranopia

A red–green color vision deficiency. Without a distinct response from medium-wavelength cones, some greens can be difficult to distinguish from reds or browns.

#EDDB83

Tritanopia

A blue–yellow color vision deficiency. Without a distinct response from short-wavelength cones, blue can resemble green, and yellow can resemble pink.

#FBCCC3

Protanomaly (50%)

An altered long-wavelength cone response can make reds appear dimmer and harder to distinguish from greens. This swatch shows the model’s halfway setting.

#EAD67B

Deuteranomaly (50%)

An altered medium-wavelength cone response can reduce the visible difference between reds and greens. This swatch shows the model’s halfway setting.

#EDD981

Tritanomaly (50%)

An altered short-wavelength cone response can make blue harder to distinguish from green. This swatch shows the model’s halfway setting.

#EFD59C

Grayscale (luminance)

This design check removes hue and preserves relative luminance so you can compare light and dark areas.

#D8D8D8

Partial grayscale (50% blend)

This design check mixes the original color halfway toward its grayscale equivalent in linear light. Use it to see how a design holds up as color fades.

#E2D8B3

Technical reference

CAM16 and CIECAM02 below assume D65 white, an average surround, background Y of 20 against white at 100, and adapting luminance of 4.07 cd/m².

Linear sRGB

These channels scale with emitted light. Use them for lighting calculations and physically meaningful blends.

R 0.83880 G 0.68669 B 0.21223

Display P3

P3 displays can reproduce a wider range of reds and greens. These coordinates reproduce this same sRGB swatch on a color-managed P3 display.

R 0.91221 G 0.84982 B 0.54423

Linear Display P3

These P3 channels are proportional to light, before display encoding.

R 0.81179 G 0.69173 B 0.25728

CIE xyY

The x and y coordinates locate chromaticity on a diagram. Y gives relative luminance on a scale where white is 100.

x 0.390 y 0.424 Y 68.478

CMY

Ideal cyan, magenta and yellow are the complements of the encoded red, green and blue channels.

C % 7.451 M % 15.294 Y % 50.196

Binary RGB

Each eight-bit group represents one channel. Together they store the 24-bit hex color.

11101100 11011000 01111111

Android ARGB

Android packs alpha, red, green and blue into a signed integer. FF means fully opaque.

0xFFECD87F -1255297

CAM16 JCh

J rates lightness relative to white. Q estimates brightness. C describes chroma, M the strength of the color sensation, and s its strength relative to brightness.

Lightness J 81.051 Chroma C 35.641 Hue h° 99.403

CAM16 JMh

J rates lightness relative to white. Q estimates brightness. C describes chroma, M the strength of the color sensation, and s its strength relative to brightness.

Lightness J 81.051 Colorfulness M 25.766 Hue h° 99.403

CAM16 Jsh

J rates lightness relative to white. Q estimates brightness. C describes chroma, M the strength of the color sensation, and s its strength relative to brightness.

Lightness J 81.051 Saturation s 48.099 Hue h° 99.403

CAM16 QCh

J rates lightness relative to white. Q estimates brightness. C describes chroma, M the strength of the color sensation, and s its strength relative to brightness.

Brightness Q 111.372 Chroma C 35.641 Hue h° 99.403

CAM16 QMh

J rates lightness relative to white. Q estimates brightness. C describes chroma, M the strength of the color sensation, and s its strength relative to brightness.

Brightness Q 111.372 Colorfulness M 25.766 Hue h° 99.403

CAM16 Qsh

J rates lightness relative to white. Q estimates brightness. C describes chroma, M the strength of the color sensation, and s its strength relative to brightness.

Brightness Q 111.372 Saturation s 48.099 Hue h° 99.403

CAM16 UCS JMh

Uniform-space coordinates make distances between nearby colors easier to compare.

J′ 87.910 M′ 20.269 Hue h° 99.403

CAM16 UCS Jab

Uniform-space coordinates make distances between nearby colors easier to compare.

J′ 87.910 a′ -3.312 b′ 19.997

CIECAM02

An earlier appearance model used in color management. Compare its predictions under the same viewing conditions as CAM16.

J 81.700 C 37.563 h° 94.114 Q 111.808 M 27.155 s 49.282

Cite this page

Choose the style requested by your instructor. The access date records when you consulted this entry. For IEEE, add the reference number assigned in your paper.

MLA 9 · Works cited

Charnell, Justin. “#ECD87F Hex Color.” Hex Values, https://hexvalues.com/colors/ecd87f/. Accessed .

APA 7 · Reference list

Charnell, J. (n.d.). #ECD87F hex color. Hex Values. Retrieved , from https://hexvalues.com/colors/ecd87f/

Chicago 18 · Bibliography

Charnell, Justin. “#ECD87F Hex Color.” Hex Values. Accessed . https://hexvalues.com/colors/ecd87f/.

Chicago 18 · Author-date

Charnell, Justin. n.d. “#ECD87F Hex Color.” Hex Values. Accessed . https://hexvalues.com/colors/ecd87f/.

IEEE · Reference list

J. Charnell. “#ECD87F Hex Color.” Hex Values. Accessed: . [Online]. Available: https://hexvalues.com/colors/ecd87f/

Discover more colors