#ECCE1F

#ecce1f ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ecce1f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 80.78% green and 12.16% blue; printed in CMYK it uses 0% cyan, 12.71% magenta, 86.86% yellow and 7.45% black. Its hue angle is 51.22°, with 84.36% saturation and 52.35% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.57.

Description generated from the measured properties of this color.

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

Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #dbcea5 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #ecd330 ≈ 1.27% of males
Tritanopia #ffbdb0 ≈ 0.0001% of males
Protanomaly #e7cb00 ≈ 1.08% of males
Deuteranomaly #ecd12a ≈ 4.63% of males
Tritanomaly #f8c48d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecce1f {
  color: #ecce1f;
}
Background
.bg-ecce1f {
  background-color: #ecce1f;
  color: #000000;
}
Border
.border-ecce1f {
  border: 2px solid #ecce1f;
}
CSS variables
:root {
  --color-primary: #ecce1f;
  --color-primary-rgb: 236 206 31;
  --color-primary-hsl: 51 84% 52%;
}
Gradient
.gradient-ecce1f {
  background: linear-gradient(135deg, #ecce1f, #a3ec1f);
}
Colored shadow
.shadow-ecce1f {
  box-shadow: 0 8px 24px rgb(236 206 31 / 0.35);
}

Citrine
#ecce1f  rgb(236, 206, 31)  hsl(51, 84%, 52%)  Citrine
#1f3dec  rgb(31, 61, 236)  hsl(231, 84%, 52%)  Persian Blue
#1fecce  rgb(31, 236, 206)  hsl(171, 84%, 52%)  Turquoise
#ce1fec  rgb(206, 31, 236)  hsl(291, 84%, 52%)  Electric Purple