#CDC318

#cdc318 ≈ Citrine

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

#cdc318 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 76.47% green and 9.41% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 88.29% yellow and 19.61% black. Its hue angle is 56.69°, with 79.04% saturation and 44.9% 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.42:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.56.

Description generated from the measured properties of this color.

Conversions of #cdc318 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.5208

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c198 ≈ 0.001% of males
Protanopia #d5bb00 ≈ 1.01% of males
Deuteranopia #d9c22c ≈ 1.27% of males
Tritanopia #ddb5a6 ≈ 0.0001% of males
Protanomaly #d2bf00 ≈ 1.08% of males
Deuteranomaly #d4c225 ≈ 4.63% of males
Tritanomaly #d7bb85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc318 {
  color: #cdc318;
}
Background
.bg-cdc318 {
  background-color: #cdc318;
  color: #000000;
}
Border
.border-cdc318 {
  border: 2px solid #cdc318;
}
CSS variables
:root {
  --color-primary: #cdc318;
  --color-primary-rgb: 205 195 24;
  --color-primary-hsl: 57 79% 45%;
}
Gradient
.gradient-cdc318 {
  background: linear-gradient(135deg, #cdc318, #7ccd18);
}
Colored shadow
.shadow-cdc318 {
  box-shadow: 0 8px 24px rgb(205 195 24 / 0.35);
}

Citrine
#cdc318  rgb(205, 195, 24)  hsl(57, 79%, 45%)  Citrine
#1822cd  rgb(24, 34, 205)  hsl(237, 79%, 45%)  Medium Blue
#18cdc3  rgb(24, 205, 195)  hsl(177, 79%, 45%)  Medium Turquoise
#c318cd  rgb(195, 24, 205)  hsl(297, 79%, 45%)  Electric Purple