#CEC018

#cec018 ≈ Citrine

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

#cec018 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 75.29% green and 9.41% blue; printed in CMYK it uses 0% cyan, 6.8% magenta, 88.35% yellow and 19.22% black. Its hue angle is 55.38°, with 79.13% saturation and 45.1% 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.18:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.67.

Description generated from the measured properties of this color.

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

Readable text 1.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c4be97 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d7c02b ≈ 1.27% of males
Tritanopia #deb2a4 ≈ 0.0001% of males
Protanomaly #d1bc00 ≈ 1.08% of males
Deuteranomaly #d3c025 ≈ 4.63% of males
Tritanomaly #d8b883 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec018 {
  color: #cec018;
}
Background
.bg-cec018 {
  background-color: #cec018;
  color: #000000;
}
Border
.border-cec018 {
  border: 2px solid #cec018;
}
CSS variables
:root {
  --color-primary: #cec018;
  --color-primary-rgb: 206 192 24;
  --color-primary-hsl: 55 79% 45%;
}
Gradient
.gradient-cec018 {
  background: linear-gradient(135deg, #cec018, #81ce18);
}
Colored shadow
.shadow-cec018 {
  box-shadow: 0 8px 24px rgb(206 192 24 / 0.35);
}

Citrine
#cec018  rgb(206, 192, 24)  hsl(55, 79%, 45%)  Citrine
#1826ce  rgb(24, 38, 206)  hsl(235, 79%, 45%)  Medium Blue
#18cec0  rgb(24, 206, 192)  hsl(175, 79%, 45%)  Medium Turquoise
#c018ce  rgb(192, 24, 206)  hsl(295, 79%, 45%)  Electric Purple