#CCC70D

#ccc70d ≈ Citrine

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

#ccc70d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 78.04% green and 5.1% blue; printed in CMYK it uses 0% cyan, 2.45% magenta, 93.63% yellow and 20% black. Its hue angle is 58.43°, with 88.02% saturation and 42.55% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 11.74:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.66.

Description generated from the measured properties of this color.

Conversions of #ccc70d 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.5371

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c6c49a ≈ 0.001% of males
Protanopia #d9bf00 ≈ 1.01% of males
Deuteranopia #dcc428 ≈ 1.27% of males
Tritanopia #dcb9a9 ≈ 0.0001% of males
Protanomaly #d4c200 ≈ 1.08% of males
Deuteranomaly #d6c520 ≈ 4.63% of males
Tritanomaly #d6bf87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccc70d {
  color: #ccc70d;
}
Background
.bg-ccc70d {
  background-color: #ccc70d;
  color: #000000;
}
Border
.border-ccc70d {
  border: 2px solid #ccc70d;
}
CSS variables
:root {
  --color-primary: #ccc70d;
  --color-primary-rgb: 204 199 13;
  --color-primary-hsl: 58 88% 43%;
}
Gradient
.gradient-ccc70d {
  background: linear-gradient(135deg, #ccc70d, #72cc0d);
}
Colored shadow
.shadow-ccc70d {
  box-shadow: 0 8px 24px rgb(204 199 13 / 0.35);
}

Citrine
#ccc70d  rgb(204, 199, 13)  hsl(58, 88%, 43%)  Citrine
#0d12cc  rgb(13, 18, 204)  hsl(238, 88%, 43%)  Medium Blue
#0dccc7  rgb(13, 204, 199)  hsl(178, 88%, 43%)  Robin Egg Blue
#c70dcc  rgb(199, 13, 204)  hsl(298, 88%, 43%)  Electric Purple