#DEC478

#dec478 ≈ Buff

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

#dec478 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.06% red, 76.86% green and 47.06% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 45.95% yellow and 12.94% black. Its hue angle is 44.71°, with 60.71% saturation and 67.06% 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 12.27:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 6.13.

Description generated from the measured properties of this color.

Conversions of #dec478 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.5637

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #d0c5ac ≈ 0.001% of males
Protanopia #d3c172 ≈ 1.01% of males
Deuteranopia #dac97b ≈ 1.27% of males
Tritanopia #ecb9b1 ≈ 0.0001% of males
Protanomaly #d8c274 ≈ 1.08% of males
Deuteranomaly #dcc77a ≈ 4.63% of males
Tritanomaly #e7bd9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec478 {
  color: #dec478;
}
Background
.bg-dec478 {
  background-color: #dec478;
  color: #000000;
}
Border
.border-dec478 {
  border: 2px solid #dec478;
}
CSS variables
:root {
  --color-primary: #dec478;
  --color-primary-rgb: 222 196 120;
  --color-primary-hsl: 45 61% 67%;
}
Gradient
.gradient-dec478 {
  background: linear-gradient(135deg, #dec478, #c5de78);
}
Colored shadow
.shadow-dec478 {
  box-shadow: 0 8px 24px rgb(222 196 120 / 0.35);
}

Buff
#dec478  rgb(222, 196, 120)  hsl(45, 61%, 67%)  Buff
#7892de  rgb(120, 146, 222)  hsl(225, 61%, 67%)  Cornflower Blue
#78dec4  rgb(120, 222, 196)  hsl(165, 61%, 67%)  Medium Aquamarine
#c478de  rgb(196, 120, 222)  hsl(285, 61%, 67%)  Floral Lavender