#E6CC2F

#e6cc2f ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#e6cc2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 90.2% red, 80% green and 18.43% blue; printed in CMYK it uses 0% cyan, 11.3% magenta, 79.57% yellow and 9.8% black. Its hue angle is 51.48°, with 78.54% saturation and 54.31% 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 13.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.4.

Description generated from the measured properties of this color.

Conversions of #e6cc2f 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.6021

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d7cca4 ≈ 0.001% of males
Protanopia #e1c700 ≈ 1.01% of males
Deuteranopia #e8d03b ≈ 1.27% of males
Tritanopia #f8bcaf ≈ 0.0001% of males
Protanomaly #e3c91a ≈ 1.08% of males
Deuteranomaly #e7ce37 ≈ 4.63% of males
Tritanomaly #f1c38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e6cc2f {
  color: #e6cc2f;
}
Background
.bg-e6cc2f {
  background-color: #e6cc2f;
  color: #000000;
}
Border
.border-e6cc2f {
  border: 2px solid #e6cc2f;
}
CSS variables
:root {
  --color-primary: #e6cc2f;
  --color-primary-rgb: 230 204 47;
  --color-primary-hsl: 51 79% 54%;
}
Gradient
.gradient-e6cc2f {
  background: linear-gradient(135deg, #e6cc2f, #a4e62f);
}
Colored shadow
.shadow-e6cc2f {
  box-shadow: 0 8px 24px rgb(230 204 47 / 0.35);
}

Citrine
#e6cc2f  rgb(230, 204, 47)  hsl(51, 79%, 54%)  Citrine
#2f49e6  rgb(47, 73, 230)  hsl(231, 79%, 54%)  Iris
#2fe6cc  rgb(47, 230, 204)  hsl(171, 79%, 54%)  Turquoise
#cc2fe6  rgb(204, 47, 230)  hsl(291, 79%, 54%)  Medium Orchid