Skip to content

Ecru (#C2B280)

The hex code for Ecru is #C2B280. It is rgb(194, 178, 128) in RGB, hsl(45, 35%, 63%) in HSL, and about cmyk(0%, 8%, 34%, 24%) in CMYK — a light yellow. Black text is the more readable choice on this background.

#C2B280
HEX#C2B280
RGBrgb(194, 178, 128)
HSLhsl(45, 35%, 63%)
HSVhsv(45, 34%, 76%)
CMYKcmyk(0%, 8%, 34%, 24%)
OKLCHoklch(76.5% 0.069 92.4)
LABlab(73.04% 0.43 27.81)
LCHlch(73.04% 27.82 89.11)

Colors Closest to Ecru

Ecru is a registered color name, also listed as Sand. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every yellow in the library.

#C2B280 Channel Values

How Ecru breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 194 · G 178 · B 1288-bit channels as sent to the display
HSLH 45° · S 35% · L 63%Easiest model for building lighter and darker variants
HSVH 45° · S 34% · V 76%Matches the picker in most design tools
CMYKC 0% · M 8% · Y 34% · K 24%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.11:1 vs white · 9.97:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Ecru background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.11:1AA normal AA large AAA normal
TextBlack text9.97:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #C2B280 in the contrast checker.

Colors That Go With Ecru

Pairings derived from color-wheel relationships. The complementary color sits opposite Ecru; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Ecru

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #C2B280.

How Ecru Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#C2B280
Protanopia#B5B580
Protanomaly#BAB480
Deuteranopia#B7B77F
Deuteranomaly#BCB580
Tritanopia#C7ADAD
Tritanomaly#C5AF9D
Achromatopsia#B3B3B3

Test a full palette in the color blindness simulator.

Using #C2B280 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--ecru: #C2B280;
CSS backgroundbackground-color: #C2B280;
Tailwind configcolors: { 'ecru': '#C2B280' }
SwiftUIColor(red: 0.761, green: 0.698, blue: 0.502)
Android XML<color name="ecru">#C2B280</color>
SVG fillfill="#C2B280"

More Yellow Colors

Ecru sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#C2B280 Frequently Asked Questions

What is the hex code for Ecru?

The hex code for Ecru is #C2B280. That is rgb(194, 178, 128) in RGB, hsl(45, 35%, 63%) in HSL, and approximately cmyk(0%, 8%, 34%, 24%) in CMYK.

What is the RGB value of #C2B280?

#C2B280 is rgb(194, 178, 128) — red 194, green 178, and blue 128 on the 0-255 scale.

What is the CMYK value of #C2B280?

#C2B280 converts to approximately cmyk(0%, 8%, 34%, 24%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #C2B280 be black or white?

Black text is the more readable choice. #C2B280 scores 2.11:1 against white and 9.97:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #C2B280 as a CSS color keyword?

No. #C2B280 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is tan (#D2B48C) at a CIE76 distance of 7.54, which is clearly related but distinguishable side by side.

Open Ecru in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.