#CEC71F

#cec71f ≈ Citrine

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

#cec71f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 78.04% green and 12.16% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 84.95% yellow and 19.22% black. Its hue angle is 57.6°, with 73.84% saturation and 46.47% 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 11.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.45.

Description generated from the measured properties of this color.

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

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c7c49b ≈ 0.001% of males
Protanopia #d9bf00 ≈ 1.01% of males
Deuteranopia #dcc531 ≈ 1.27% of males
Tritanopia #deb9aa ≈ 0.0001% of males
Protanomaly #d5c200 ≈ 1.08% of males
Deuteranomaly #d6c62b ≈ 4.63% of males
Tritanomaly #d8bf88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec71f {
  color: #cec71f;
}
Background
.bg-cec71f {
  background-color: #cec71f;
  color: #000000;
}
Border
.border-cec71f {
  border: 2px solid #cec71f;
}
CSS variables
:root {
  --color-primary: #cec71f;
  --color-primary-rgb: 206 199 31;
  --color-primary-hsl: 58 74% 46%;
}
Gradient
.gradient-cec71f {
  background: linear-gradient(135deg, #cec71f, #7dce1f);
}
Colored shadow
.shadow-cec71f {
  box-shadow: 0 8px 24px rgb(206 199 31 / 0.35);
}

Citrine
#cec71f  rgb(206, 199, 31)  hsl(58, 74%, 46%)  Citrine
#1f26ce  rgb(31, 38, 206)  hsl(238, 74%, 46%)  Medium Blue
#1fcec7  rgb(31, 206, 199)  hsl(178, 74%, 46%)  Medium Turquoise
#c71fce  rgb(199, 31, 206)  hsl(298, 74%, 46%)  Medium Orchid