#CAB978

#cab978 ≈ Ecru

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

#cab978 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 79.22% red, 72.55% green and 47.06% blue; printed in CMYK it uses 0% cyan, 8.42% magenta, 40.59% yellow and 20.78% black. Its hue angle is 47.56°, with 43.62% saturation and 63.14% 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.72:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.66.

Description generated from the measured properties of this color.

Conversions of #cab978 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.4861

Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #c0b9a3 ≈ 0.001% of males
Protanopia #c6b673 ≈ 1.01% of males
Deuteranopia #cabc7a ≈ 1.27% of males
Tritanopia #d6b0a9 ≈ 0.0001% of males
Protanomaly #c7b775 ≈ 1.08% of males
Deuteranomaly #cabb79 ≈ 4.63% of males
Tritanomaly #d1b498 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ecru
#cab978  rgb(202, 185, 120)  hsl(48, 44%, 63%)  Ecru
#7889ca  rgb(120, 137, 202)  hsl(228, 44%, 63%)  Glaucous
#78cab9  rgb(120, 202, 185)  hsl(168, 44%, 63%)  Medium Aquamarine
#b978ca  rgb(185, 120, 202)  hsl(288, 44%, 63%)  Floral Lavender