#CFB978

#cfb978 ≈ Ecru

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#cfb978 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 72.55% green and 47.06% blue; printed in CMYK it uses 0% cyan, 10.63% magenta, 42.03% yellow and 18.82% black. Its hue angle is 44.83°, with 47.54% saturation and 64.12% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 10.86:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.01.

Description generated from the measured properties of this color.

Conversions of #cfb978 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4932

Readable text 1.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c3baa4 ≈ 0.001% of males
Protanopia #c6b773 ≈ 1.01% of males
Deuteranopia #ccbd7a ≈ 1.27% of males
Tritanopia #dcafa9 ≈ 0.0001% of males
Protanomaly #cab875 ≈ 1.08% of males
Deuteranomaly #cdbc79 ≈ 4.63% of males
Tritanomaly #d7b398 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfb978 {
  color: #cfb978;
}
Background
.bg-cfb978 {
  background-color: #cfb978;
  color: #000000;
}
Border
.border-cfb978 {
  border: 2px solid #cfb978;
}
CSS variables
:root {
  --color-primary: #cfb978;
  --color-primary-rgb: 207 185 120;
  --color-primary-hsl: 45 48% 64%;
}
Gradient
.gradient-cfb978 {
  background: linear-gradient(135deg, #cfb978, #bacf78);
}
Colored shadow
.shadow-cfb978 {
  box-shadow: 0 8px 24px rgb(207 185 120 / 0.35);
}

Ecru
#cfb978  rgb(207, 185, 120)  hsl(45, 48%, 64%)  Ecru
#788ecf  rgb(120, 142, 207)  hsl(225, 48%, 64%)  Glaucous
#78cfb9  rgb(120, 207, 185)  hsl(165, 48%, 64%)  Medium Aquamarine
#b978cf  rgb(185, 120, 207)  hsl(285, 48%, 64%)  Floral Lavender