#F0CC8A

#f0cc8a ≈ Sunset

  • orange
  • Lightness: high
  • Saturation: moderate
  • Warm

#f0cc8a is a color from the orange family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 80% green and 54.12% blue; printed in CMYK it uses 0% cyan, 15% magenta, 42.5% yellow and 5.88% black. Its hue angle is 38.82°, with 77.27% saturation and 74.12% lightness in HSL. It is a warm color, often associated with enthusiasm, warmth and creativity. Designers typically use it for call-to-action buttons, food and restaurant brands and brand accents. Black text on this color reaches a contrast ratio of 13.71:1 (WCAG AAA). The closest named color is Sunset (#fad6a5), ΔE 4.78.

Description generated from the measured properties of this color.

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

Readable text 1.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d1d1d1 ≈ 0.003% of males
Achromatomaly #decfb9 ≈ 0.001% of males
Protanopia #dccb85 ≈ 1.01% of males
Deuteranopia #e5d58c ≈ 1.27% of males
Tritanopia #ffc1bb ≈ 0.0001% of males
Protanomaly #e4cc87 ≈ 1.08% of males
Deuteranomaly #e9d18b ≈ 4.63% of males
Tritanomaly #f9c5aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0cc8a {
  color: #f0cc8a;
}
Background
.bg-f0cc8a {
  background-color: #f0cc8a;
  color: #000000;
}
Border
.border-f0cc8a {
  border: 2px solid #f0cc8a;
}
CSS variables
:root {
  --color-primary: #f0cc8a;
  --color-primary-rgb: 240 204 138;
  --color-primary-hsl: 39 77% 74%;
}
Gradient
.gradient-f0cc8a {
  background: linear-gradient(135deg, #f0cc8a, #e1f08a);
}
Colored shadow
.shadow-f0cc8a {
  box-shadow: 0 8px 24px rgb(240 204 138 / 0.35);
}

Sunset
#f0cc8a  rgb(240, 204, 138)  hsl(39, 77%, 74%)  Sunset
#8aaef0  rgb(138, 174, 240)  hsl(219, 77%, 74%)  Iceberg
#8af0cc  rgb(138, 240, 204)  hsl(159, 77%, 74%)  Aquamarine
#cc8af0  rgb(204, 138, 240)  hsl(279, 77%, 74%)  Floral Lavender