#CEC331

#cec331 ≈ Citrine

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

#cec331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 76.47% green and 19.22% blue; printed in CMYK it uses 0% cyan, 5.34% magenta, 76.21% yellow and 19.22% black. Its hue angle is 55.8°, with 61.57% saturation and 50% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #cec331 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.5237

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c19b ≈ 0.001% of males
Protanopia #d5bc0c ≈ 1.01% of males
Deuteranopia #d8c23c ≈ 1.27% of males
Tritanopia #deb5a8 ≈ 0.0001% of males
Protanomaly #d2bf20 ≈ 1.08% of males
Deuteranomaly #d4c338 ≈ 4.63% of males
Tritanomaly #d8bb88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec331 {
  color: #cec331;
}
Background
.bg-cec331 {
  background-color: #cec331;
  color: #000000;
}
Border
.border-cec331 {
  border: 2px solid #cec331;
}
CSS variables
:root {
  --color-primary: #cec331;
  --color-primary-rgb: 206 195 49;
  --color-primary-hsl: 56 62% 50%;
}
Gradient
.gradient-cec331 {
  background: linear-gradient(135deg, #cec331, #8ace31);
}
Colored shadow
.shadow-cec331 {
  box-shadow: 0 8px 24px rgb(206 195 49 / 0.35);
}

Citrine
#cec331  rgb(206, 195, 49)  hsl(56, 62%, 50%)  Citrine
#313cce  rgb(49, 60, 206)  hsl(236, 62%, 50%)  Persian Blue
#31cec3  rgb(49, 206, 195)  hsl(176, 62%, 50%)  Medium Turquoise
#c331ce  rgb(195, 49, 206)  hsl(296, 62%, 50%)  Medium Orchid